>      from sqlalchemy import select
>
>      results = select(
>          [
>              SubDivision.c.Subdivision_id,
>              SubDivision.c.Name,
>              SubDivision.c.DisplayOrder,
>              Division.c.Division_id,
>              Division.c.Name
>          ],
>          SubDivision.c.Division_id==Division.c.Division_id
>      ).execute()
>
>      for result in results:
>          print result

Yup Jonathan, that does work.  Is there a way to pull the rows so that
it is directly passable to the templates or would I have to build a
function that would do that?

Thanks,
Mel


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to