]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- [feature] SQL Server dialect can be given
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 7 Aug 2012 20:51:14 +0000 (16:51 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 7 Aug 2012 20:51:14 +0000 (16:51 -0400)
commitc94756cce81a940a6a6f09e1fdf8ccfe8d1c45c1
treec7a3bc961b0e4c4f4f47c9a26b0bde1c2843df2b
parent18ab1b8c464e6cae96f03b2d6f2680cc8cdb7afe
- [feature] SQL Server dialect can be given
database-qualified schema names,
i.e. "schema='mydatabase.dbo'"; reflection
operations will detect this, split the schema
among the "." to get the owner separately,
and emit a "USE mydatabase" statement before
reflecting targets within the "dbo" owner;
the existing database returned from
DB_NAME() is then restored.
CHANGES
lib/sqlalchemy/dialects/mssql/base.py
test/dialect/test_mssql.py