Hi,

I have model defined like this

class Menu(db.Model):
     type = db.StringProperty()
     desc = db.StringProperty()

class Item(db.Model):
       desc = db.StringProperty()
       tied = db.ReferenceProperty(Menu, collection_name='item_list')

I would like to do execute this query now ?

select * from Item where tied = <menu_key_name>

I did something like this

db.Query (select * from Item where tied = <menu_key_name>)

But its not working !

Thanks for your help.

--RJ

-- 
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.

Reply via email to