Now in GAE SDK 1.1.6 (released 11/17/08), you can filter and sort
based on entity key as __key__ which is useful for efficient
pagination.

http://code.google.com/appengine/docs/datastore/queriesandindexes.html#Queries_on_Keys

Web2py does not yet offer support, since it is a new feature for GAE.

Robin

On Nov 27, 6:57 pm, mdipierro <[EMAIL PROTECTED]> wrote:
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to