note that unless the book calls out google:sql vs google:datastore it's referring to google:datastore. SQL was added much later by google, but it's a mysql compatible database, and so should have most (perhaps all?) the mysql features.
On Tuesday, March 12, 2013 2:14:39 AM UTC-7, [email protected] wrote: > > Hi all > > According to the web2py book[1] accessible_query(...) is not working on > GAE. > As there is now a google:sql and google:datastore storage available I > thought of using both: sql for the auth and datastore for the rest. > The output of the accessible_query would be ideal to query the datastore. > > What do you think? Could this work? Will web2py auth support this? > > In models/db.py I would try something like this: > > sql = DAL('google:sql') > datastore = DAL('google:datastore') > from gluon.tools import Auth > auth = Auth(sql) > > Cheers > -Luca. > > [1] http://web2py.com/books/default/chapter/29/09 > -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

