[web2py] Re: Making a query and projection not working.

2013-05-06 Thread José Manuel López
Thank you Christian!. It's working now! :) On Tuesday, May 7, 2013 12:35:51 AM UTC+2, Christian Foster Howes wrote: > > to get a GAE projection query you have to specify projection=True in your > query: > > db(db.auth_user.id==user_role.user_id).select(db.auth_user.first_name, > projection=True)

[web2py] Re: Making a query and projection not working.

2013-05-06 Thread Christian Foster Howes
to get a GAE projection query you have to specify projection=True in your query: db(db.auth_user.id==user_role.user_id).select(db.auth_user.first_name, projection=True) why? well, for backwards compatibility reasons. prior to projection queries being supported on GAE the default behavior was