That would be equivelant to a one-to-many query in SQL. The query is what is joining them all together.
-Thadeus On Fri, Sep 25, 2009 at 9:08 PM, jayvandal <jayvan...@gmail.com> wrote: > > Hi, > When you have the statements > pep=db(db.person.id> 0).select(orderby=db.person.id) > form=SQLFORM(db.events,fields=['description']) > ev=db(db.events.person==db.person.id).select() > > pep=db(db.person.id> 0).select(orderby=db.person.id) > This line selects the master. > > ev=db(db.events.person==db.person.id).select() > This selects the details by the person.id > > What joins them together? > Thanks for any help > JIM > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" 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 -~----------~----~----~----~------~----~------~--~---