On 3 фев, 09:31, limodou <[email protected]> wrote:
> Thanks and I want to know if I must call meta.create_all(engine),
> because this code will create the tables, but I just want to see the
> SQL statements, but not create the tables.
Note the additional properties:
strategy='mock', executor=lambda s, p='': buf.write(s + p)
As far as I understand, they will prevent creating the tables and
would just write the create statements to 'buf'.
--
Sergei
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---