Hello folks,

The documentation here:
http://code.google.com/appengine/docs/datastore/queriesandindexes.html#Big_Entities_and_Exploding_Indexes

says that given a model thus:

class MyModel(db.Expando):
  pass

and an instance thus:

e2 = MyModel()
e2.x = ['red', 'blue']
e2.y = [1, 2]
e2.put()

then the following index:

indexes:
- kind: MyModel
  properties:
  - name: x
  - name: y

will generate 8 rows in the index table. Can anyone explain how?

I thought it would be 4 like this:
x, y
'red', 1
'red', 2
'blue', 1
'blue', 2

Also, in case of a repeating property:

indexes:
- kind: MyModel
  properties:
  - name: x
  - name: x

will this also have 8 rows?

I'd love to hear your input
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to