I've just started using TG to do some prototyping stuff, mostly throw away
and in some cases its just way faster for me to do some raw SQL.  I'm using
SQLAlchemy and have set up some objects in my model.py and they work great.
In my controller, given I have imported model, is there a way to execute raw
SQL?  Or should I just open a new db connection with (say with psycopg2) and
do my raw SQL with that?

Thanks.

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