Skip to content

Instantly share code, notes, and snippets.

@pr4v33n
Created January 30, 2012 13:06
Show Gist options
  • Save pr4v33n/1704303 to your computer and use it in GitHub Desktop.
Save pr4v33n/1704303 to your computer and use it in GitHub Desktop.
ListProperty and Index generation
class Foo(db.Model):
bar = db.ListProperty(required=True)
If i have 5 entities of kind "Foo"
Entity1.bar = ["abc"]
Entity2.bar = ["def"]
Entity3.bar = ["ghi"]
Entity4.bar = ["klm", "nop"]
Entity5.bar = ["qrs", "tuv", "wxy"]
How many index entries would it generate?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment