I'm using this filter() to build a search engine in the datastore. So I don't only want to show the exact result.
2010/6/2 Geoffrey Spear <[email protected]> > > > On Jun 2, 3:10 pm, Massimiliano <[email protected]> > wrote: > > Thanks! > > But... The "=" checks if the string is equal of what I have in the > > datastore. I need to check if the string is in the string in the > datastore. > > Uhm. Can you help me? > > The datastore can't do substring searches. The best you can do is a > prefix search by filtering with >= 'yourprefix' and < u'yourprefix' + > u'\uffdd'. > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-appengine%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > > -- My email: [email protected] My Google Wave: [email protected] -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
