2

Possible Duplicate:
Querying for entities with missing properties in app engine Datastore?

I'm using Objectify4, If a field is not set, from the datastore viewer we can see it is marked as <missing> or <null>, Is there a way to fetch these entities?

Community
  • 1
  • 1
etianQQ
  • 167
  • 2
  • 9
  • 1
    No, there is no way. You can specify a default value for this property and then query for it. Take a look at this: http://stackoverflow.com/questions/3332080/querying-for-entities-with-missing-properties-in-app-engine-datastore – Andrei Volgin Nov 02 '12 at 06:40

1 Answers1

1

You cannot make queries for properties that are missing or not set for an Entity. However, you can query for properties that were initialized with null value. For more information take a look Restrictions on Queries.

Hope this helps!

Thanos Makris
  • 3,115
  • 2
  • 17
  • 26