Hi,
I have an entity that has the following structure:
File which has Key as primary key and ParentKey that refers to
another File which is parent of this File. Example data for this
structure looks like this:
Key: File(2)
Name: Inbox
parentKey: File(1)
It is possible that File may not have a parentKey.
I want to query the DataStore for Files that don't have parent file
(parentKey == null). But when I am querying with parentKey == null, I
am still getting all Files including those with parentsKeys. How can
we do this with JDO query with App Store? I must be missing something
basic here.
Similarly I would like to get the child folders of a given folder
(parentKey == File(1)).
Any help would be appreciated!
Thanks
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" 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-java?hl=en.