summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2021-09-21 21:12:15 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2021-09-21 21:14:59 -0400
commitd09065d43d9914a1db45b89bd845072d7970155f (patch)
tree7c7185fde6511006ba43abf7c00943633d1bd754 /lib/sqlalchemy/sql
parentcf3f76f817df1a500be1a6cc7a3a4b38be507861 (diff)
downloadsqlalchemy-d09065d43d9914a1db45b89bd845072d7970155f.tar.gz
add note to "quote" regarding case insensitive table reflection
this note basically states that the use case requested in issue #7026 is not supported. I'm not sure the note is going to otherwise make sense to anyone. Fixes: #7026 Change-Id: Ib7782afc9bc5dc0c43cfab9b1f969a55c43209fe
Diffstat (limited to 'lib/sqlalchemy/sql')
-rw-r--r--lib/sqlalchemy/sql/schema.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/sqlalchemy/sql/schema.py b/lib/sqlalchemy/sql/schema.py
index d9c7eb8b9..02c1b9ced 100644
--- a/lib/sqlalchemy/sql/schema.py
+++ b/lib/sqlalchemy/sql/schema.py
@@ -440,6 +440,12 @@ class Table(DialectKWArgs, SchemaItem, TableClause):
is only needed to force quoting of a reserved word which is not known
by the SQLAlchemy dialect.
+ .. note:: setting this flag to ``False`` will not provide
+ case-insensitive behavior for table reflection; table reflection
+ will always search for a mixed-case name in a case sensitive
+ fashion. Case insensitive names are specified in SQLAlchemy only
+ by stating the name with all lower case characters.
+
:param quote_schema: same as 'quote' but applies to the schema identifier.
:param schema: The schema name for this table, which is required if