- attached temporary_tables.patch
Temporary tables support (including patch)
Issue #1075
resolved
I patched in temporary tables support. It was discussed on the mailing list a while back, and you seem to have agreed to a "prefixes" addition to Table, so that's exactly what this patch does. It includes the appropriate unit test.
For a lot of databases, temporary tables are local to connections, so if you document its usage, it should go something like:
db = create_engine('postgres://vomjom:hojachi5@localhost/api') meta = MetaData() conn = db.connect() meta.bind = conn tbl = Table('foo', meta, Column('bar', Integer), prefixes='TEMPORARY') meta.create_all()
Comments (5)
-
Account Deleted -
Account Deleted E-mail is vomjom at vomjom.net
Thanks.
-
Account Deleted Haha, looks like I'm going to have to change my database password since I included it in my example :)
-
-
repo owner - removed milestone
Removing milestone: 0.5.0 (automated comment)
- Log in to comment
prefixes patch for Table