diff options
| author | Michael Trier <mtrier@gmail.com> | 2008-12-22 20:20:55 +0000 |
|---|---|---|
| committer | Michael Trier <mtrier@gmail.com> | 2008-12-22 20:20:55 +0000 |
| commit | 886ddcd12db97984cdb1cc94b9abaee5df4eb6d5 (patch) | |
| tree | 344b8a10c38d00164301e982b2074ccf7cefa2d7 /test/sql/query.py | |
| parent | 4bb848907339b0e69b5d5ad3d020305ce681b823 (diff) | |
| download | sqlalchemy-886ddcd12db97984cdb1cc94b9abaee5df4eb6d5.tar.gz | |
Major refactoring of the MSSQL dialect. Thanks zzzeek.
Includes simplifying the IDENTITY handling and the exception handling. Also
includes a cleanup of the connection string handling for pyodbc to favor
the DSN syntax.
Diffstat (limited to 'test/sql/query.py')
| -rw-r--r-- | test/sql/query.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sql/query.py b/test/sql/query.py index 9b3d4cec5..acfe4a4b0 100644 --- a/test/sql/query.py +++ b/test/sql/query.py @@ -59,7 +59,7 @@ class QueryTest(TestBase): result = table.insert().execute(**values) ret = values.copy() - + for col, id in zip(table.primary_key, result.last_inserted_ids()): ret[col.key] = id |
