Hi, There should be no difference; the usage is not even consistent within the SDK code.
Operator list: http://code.google.com/p/googleappengine/source/browse/trunk/python/google/appengine/ext/db/__init__.py#264 For some example inconsistencies, read over this method: http://code.google.com/p/googleappengine/source/browse/trunk/python/google/appengine/ext/db/__init__.py#2422 They default to '==', yet for the 'in' query '=' is used. Robert On Thu, Feb 9, 2012 at 14:12, ckhan <[email protected]> wrote: > This page > http://code.google.com/appengine/docs/python/datastore/queries.html lists > the equality operator as '==' : > > The comparison operator can be any of the following: > OperatorMeaning==Equal to > > > But the examples on that page, and the reference for Query.filter > http://code.google.com/appengine/docs/python/datastore/queryclass.html#Query_filter > use > '=' > > > q.filter("last_name =", "Smith") > > > > My experiments seem to indicate that either will work. > Is the table just a typo, or is there a difference? > -ckhan > > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-appengine/-/E4E_wk-_ujIJ. > 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. > -- 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.
