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.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
On Aug 26, 3:20 pm, King Simon-NFHD78 simon.k...@motorola.com
wrote:
-Original Message-
From: sqlalchemy@googlegroups.com
[mailto:sqlalch...@googlegroups.com] On Behalf Of Michele Simionato
Sent: 26 August 2009 13:40
To: sqlalchemy
Subject: [sqlalchemy] from a sqlalchemy
On Aug 17, 5:31 pm, King Simon-NFHD78 simon.k...@motorola.com
wrote:
I think you want something like column.label('newcol'). For example:
import sqlalchemy as sa
print sa.select([atable.c.acolumn.label('newcol')])
Yep, exactly!
--~--~-~--~~~---~--~~
You
Is there some utility to convert a schema file (obtained by dumping
the schema of a pre-existing database) into a Python file containing
the corresponding SQLAlchemy table definitions?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
constraints. Thanks for your help,
Michele Simionato
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
sqlalchemy group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send