Given models

<code>
def Parent(db.Model):
    parent_name = db.StringProperty()

def Child(db.Model):
    parent = db.ReferenceProperty(Parent, collection_name="children")
    child_name = db.StringProperty()
</code>

What query would return all parents with children named 'Joe'?


--~--~---------~--~----~------------~-------~--~----~
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 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to