[Chicago] appengine

Massimo Di Pierro mdipierro at cs.depaul.edu
Wed Apr 23 07:01:54 CEST 2008


Does anybody know how the appengine escapes strings in gqlquery?

For example this is
q = GqlQuery("SELECT * FROM Song WHERE title= :1", "Imagine")
the same as
q = GqlQuery("SELECT * FROM Song WHERE title = 'Imagine'")

Is this the same as
q = GqlQuery("SELECT * FROM Song WHERE title= :1", "Ima'gine")
this
q = GqlQuery("SELECT * FROM Song WHERE title = 'Ima''gine'")
?

How are quotes escaped? What about other ascii charcaters?
Please, please... I know the :1 API are better and the query API are  
even better but I need to know this.

Massimo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/chicago/attachments/20080423/1468236a/attachment.htm>


More information about the Chicago mailing list