Hello,
If we take the following example:
Comment
- post (reference to Post)
- text
- author
where comments that are responded to become parents of other comments,
how can I get only the root entities - comments that are not
responses?
Comment.gql("WHERE post=:post AND ANCESTOR IS None", post=<some_post>)
does not work. I get a "Invalid WHERE condition at symbol None"
error.
Thanks in advance
Lakshmi.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---