I don't understand what sqlsoup adds to sqlalchemy.  :-\

jo

gasolin ha scritto:
> Hi:
>
> I found a more better way ~~Put this in your model.py:
>
> from turbogears.database import metadata
> from sqlalchemy.ext.sqlsoup import SqlSoup
>
> soup = SqlSoup(metadata)
>
>
>
> Done! you could test it immediately:
>
> $ tg-admin shell
>   
>>>> poll = soup.poll.select()
>>>> print poll
>>>>         
>
>
> --
> Fred
>
>
> >
>   


--~--~---------~--~----~------------~-------~--~----~
 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