why not adding a ListProperty to Author which holds the list of genres for that author? Of course, you need to keep it updated in each Create/Update/Delete of books associated with that author, but it would allow you to query just for author.favgenre='sci-fi'. Maybe it looks strange coming from the SQL world where you can Join things and so on, but I believe that it makes sense to work like that in the DataStore world...
best, Jose On Thu, Sep 18, 2008 at 1:16 PM, Arun Shanker Prasad <[EMAIL PROTECTED]> wrote: > > Hi Marzia, > > Thanks for the reply. > In my particular situation I needed a list of Authors who have the > favGenre='Sci-Fi'.. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---