From 9f82afea25958910038ec768d81b157d9d2fdc7c Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Mon, 3 Apr 2017 15:05:27 -0400 Subject: Recognize brackets, quoted_name in SQL Server schema The SQL Server dialect now allows for a database and/or owner name with a dot inside of it, using brackets explicitly in the string around the owner and optionally the database name as well. In addition, sending the :class:`.quoted_name` construct for the schema name will not split on the dot and will deliver the full string as the "owner". :class:`.quoted_name` is also now available from the ``sqlalchemy.sql`` import space. Change-Id: I77491d63ce47638bd23787d903ccde2f35a9d43d Fixes: #2626 --- lib/sqlalchemy/sql/__init__.py | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/sqlalchemy/sql/__init__.py') diff --git a/lib/sqlalchemy/sql/__init__.py b/lib/sqlalchemy/sql/__init__.py index 5eebd7d1c..13042ed7a 100644 --- a/lib/sqlalchemy/sql/__init__.py +++ b/lib/sqlalchemy/sql/__init__.py @@ -57,6 +57,7 @@ from .expression import ( outerjoin, outparam, over, + quoted_name, select, subquery, table, -- cgit v1.2.1