I’d like to do a query that returns all entities for which a particular property exists. I don’t care about the vale of the property, just that it exists. What is a good way to do this on python for app engine?
Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
http://code.google.com/appengine/docs/python/datastore/queries.html#Restrictions_on_Queries
So just sort your results by the field you want to check for existence.