views:

120

answers:

1

I know there is a limited version of a LIKE query in the App engine's datastore where you can only search on the end of a string but I can't seem to find the syntax.

I want to do something like this

SELECT * FROM MyTable WHERE name LIKE ji%

A: 

See this question: http://stackoverflow.com/questions/47786/google-app-engine-is-it-possible-to-do-a-gql-like-query

Jason Hall
Note in particular the second answer, which explains how to do a string prefix query, as the OP is asking.
Nick Johnson