> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Michele Simionato
> Sent: 26 August 2009 13:40
> To: sqlalchemy
> Subject: [sqlalchemy] from a sqlalchemy table to the 
> corresponding CREATE TABLE sql code
> 
> 
> A part from setting echo=True and monitoring the result
> of .create_all, is there a more elegant way
> to extract the SQL creation code from a table object?
> TIA,
> 
>       M.S.

I think this FAQ should answer your question:

http://www.sqlalchemy.org/trac/wiki/FAQ#HowcanIgettheCREATETABLEDROPTABL
Eoutputasastring

Hope that helps,

Simon

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

Reply via email to