Question about query equality operator docs

13 views
Skip to first unread message

ckhan

unread,
Feb 9, 2012, 2:12:21 PM2/9/12
to google-a...@googlegroups.com
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


Robert Kluin

unread,
Feb 10, 2012, 1:56:48 AM2/10/12
to google-a...@googlegroups.com
Hi,
  There should be no difference;  the usage is not even consistent within the SDK code.

  Operator list:
-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 google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.

Reply all
Reply to author
Forward
0 new messages