fla1=db.flavor.with_alias('fla1') fla2=db.flavor.with_alias('fla2') r=db().select(db.ice_cream.id,fla1.name,fla2.name, left=[fla1.on(db.ice_cream.f1==fla1.id), fla2.on(db.ice_cream.f2==fla2.id)])
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---