[appengine-java] Select query using LIKE

2010-10-04 Thread Ravi Dhanwate
Hi All,

Please provide inputs if we can use LIKE in GQL query or if any
alternative is available for this.

Thanks.
Ravi

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



Re: [appengine-java] Select query using LIKE

2010-10-04 Thread John Patterson
Use a GREATER_THAN_OR_EQUAL and a LESS_THAN filter to match a prefix -  
thats the best you can do for a single stored term.  You will need to  
break the term up into multiple n-grams if you want to query for a  
partial match within a term.


On 4 Oct 2010, at 16:25, Ravi Dhanwate wrote:


Hi All,

Please provide inputs if we can use LIKE in GQL query or if any  
alternative is available for this.


Thanks.
Ravi

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