If I understand what you are asking, you will need to maintain the list of categories yourself. You can only fetch an entity in its entirety.
The only way I am aware of to get this information from existing data is to iterate over all of the entities and build your list of keys. You could then store that list and update it at write time in the future. Robert On Tue, Dec 22, 2009 at 7:01 AM, Diogo Terror <[email protected]> wrote: > Is there a way I could query the index contents, such as: > > I have a data model called Contact which has a field called category. > Now category is not sql-normalized but I still want to query all > categories available for the Contact model (in which case I'd just > query for all the keys of the category index, right?) > > Is there any way I could do this? > > Thanks! > > -- > > 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. > > > -- 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.
