It comes down to how the Datastore distinguishes if an Entity property has 
a value or not. If a property has no value (aka it is never set and is 
None) than the Datastore is unable to filter on that specific property 
(since it doesn't have it) and will not return that Entity in a query. This 
is explained in the documentation under "Entities lacking a property named 
in the query are ignored 
<https://cloud.google.com/datastore/docs/concepts/queries#restrictions_on_queries>
"

The workaround is to assign a default value to a property such a null. Once 
a value is assigned it will then be visible to a filter and can be returned 
in a query. 

- Note that Google Groups is for general product discussions and not for 
technical support. If you require further Datastore technical support it is 
recommended to post your full detailed question 
<https://stackoverflow.com/help/how-to-ask> to Stack Overflow 
<https://cloud.google.com/support/docs/stackexchange> using the supported 
Cloud tags.    

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/46973e7d-e3ac-4353-86c3-435a4ea87d12%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [google-appengine]... Janne Savukoski
    • [google-appen... 'Jordan (Cloud Platform Support)' via Google App Engine

Reply via email to