Hi,

At 
http://code.google.com/appengine/docs/python/datastore/queriesandindexes.html#Restrictions_on_Queries
it explains:

It is not possible to perform a query for entities that are missing a
given property. One alternative is to create a fixed (modeled)
property with a default value of None, then create a filter for
entities with None as the property value.

I tried to follow that advice and make a certain UserPropery in my
model by default=None:

owner = db.UserProperty(default=None)

This does not work however. What am I doing wrong? Can somebody give
an example what it means to "create a fixed (modeled) property with a
default value of None" ?

How can I do this for UserProperty?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
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