2009/2/4 limodou <[email protected]>:
> 2009/2/3 Sergei Beilin <[email protected]>:
>>
>> 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'.
>>
>
> Thank you very much, I'll test it.
>

Great! It works.



-- 
I like python!
UliPad <<The Python Editor>>: http://code.google.com/p/ulipad/
UliWeb <<simple web framework>>: http://uliwebproject.appspot.com
My Blog: (new)http://http://hi.baidu.com/limodou
(old)http://www.donews.net/limodou

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