GeeCON Prague 2014*
The moose likes Other Application Frameworks and the fly likes GAE : Is it possible to do a l LIKE query? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "GAE : Is it possible to do a l LIKE query?" Watch "GAE : Is it possible to do a l LIKE query?" New topic
Author

GAE : Is it possible to do a l LIKE query?

Arun Pandian S
Greenhorn

Joined: Oct 01, 2013
Posts: 2
Hi,

As i am brand new to Datastore I ask you gently .
Is it possible to Search Customer by lettter ( if user type -A it should list out Name under A )

Gae Doesn't has Documentation for LIKE Query

And this my code
DatastoreService datastore = DatastoreServiceFactory.getDatastoreService();
Query query =
new Query("Customer").addSort("date", Query.SortDirection.DESCENDING);
List<Entity> customers =
datastore.prepare(query).asList(FetchOptions.Builder.withLimit(10));


Your Suggestion And Discussion are warm welcome
 
 
subject: GAE : Is it possible to do a l LIKE query?