On Jan 4, 2006, at 11:38 PM, limodou wrote:
engine.execute('CREATE INDEX idxName ON tblName (col1, col2)', ())
can the second parameter be default () or {}?
at the moment, this method feeds the statement and params directly to
the execute() method on a dbapi cursor. So its specific to the
"paramstyle" of the cursor - {} for named params, () for positional
params.
I should make the params optional so you can just send None if you
dont want to deal with them.
you can also say:
text("CREATE INDEX idxName on tblName (col1, col2)",
engine=engine).execute()
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Sqlalchemy-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users