The usual approach to complex queries in GAE is to process your data
before you need to query it. So in this case for each person create
an "index entity" which simply contains a list of partial names e.g.
"Pliyush", "iyush", "yush", "ush"
Then do a keys-only range query for the name part e.g. "iyu" (look
into how to do range queries). Then take the result key's parent and
look up the Person entity.
On 11 Feb 2010, at 18:26, Piyush wrote:
Hi All,
I am developing a resource allocation application in GAE with Java.
Since there is no like keyword in JDOQL, I am unable to do search in
database based on a keyword. For example, I want to list all the
employees who have 'ash' word in their name.
I have already wasted 3 days due to this problem. So please suggest me
some workaround to achieve above this goal.
Thanks in advance.
Regards,
Piyush Jain
--
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 google-appengine-java@googlegroups.com
.
To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com
.
For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en
.
--
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 google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en.