GAE does not treat id as normal fields therfore you cannot mix ID and other fields in the same query
On Nov 27, 4:30 pm, kev <[EMAIL PROTECTED]> wrote: > Hello, > On GAE, web2py cannot do: > > db((db.users.id == id) & (db.users.name == somename)).select() > > It gives me AttributeError: 'SQLQuery' object has no attribute > 'left'. > > How would you fix this OR is there some way to access entity key which > google generates on its own? > > Thanks, > Kevin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" 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/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

