This is an example from the web2py book:

1 >>> rows=db(db.person.id==db.dog.owner).select()
2 >>> for row in rows: print row.person.name, 'has', row.dog.name
3 Alex has Skipper
4 Alex has Snoopy
5 Bob has Puppy

This 1 level inner join will be able to be performed on GAE
efficiently using batch get, so long as you are joining on a primary
key (id).

Joins on GAE!

Robin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to