Google App Engine query data store by a string start with ...
Posted
by Frank
on Stack Overflow
See other posts from Stack Overflow
or by Frank
Published on 2010-05-24T21:09:57Z
Indexed on
2010/05/24
21:21 UTC
Read the original article
Hit count: 146
How to write a query that can find me all item_number start with a certain value ?
For instance there are item_numbers like these :
123_abc
123_xyz
ierireire
321_add
999_pop
My current query looks like this :
"select from "+PayPal_Message.class.getName()+" where item_number == '"+Item_Number+"' order by item_number desc"
What's a query look like that can return all item_numbers start with "123_" ?
© Stack Overflow or respective owner