From 46b7c9dc57a38d5b9e44a4723dad2ad8ec57baca Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Thu, 8 May 2008 21:29:07 +0000 Subject: doc update on quote --- lib/sqlalchemy/schema.py | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'lib/sqlalchemy/schema.py') diff --git a/lib/sqlalchemy/schema.py b/lib/sqlalchemy/schema.py index 9fc1ceec5..9a4bf4109 100644 --- a/lib/sqlalchemy/schema.py +++ b/lib/sqlalchemy/schema.py @@ -183,14 +183,14 @@ class Table(SchemaItem, expression.TableClause): be used in its place. quote - Defaults to False: indicates that the Table identifier must be - properly escaped and quoted before being sent to the - database. This flag overrides all other quoting behavior. + When True, indicates that the Table identifier must be quoted. + This flag does *not* disable quoting; for case-insensitive names, + use an all lower case identifier. quote_schema - Defaults to False: indicates that the Namespace identifier must be - properly escaped and quoted before being sent to the - database. This flag overrides all other quoting behavior. + When True, indicates that the schema identifier must be quoted. + This flag does *not* disable quoting; for case-insensitive names, + use an all lower case identifier. """ super(Table, self).__init__(name) @@ -488,10 +488,9 @@ class Column(SchemaItem, expression._ColumnClause): or subtype of Integer. quote - Defaults to False: indicates that the Column identifier must be - properly escaped and quoted before being sent to the database. - This flag should normally not be required as dialects can - auto-detect conditions where quoting is required. + When True, indicates that the Column identifier must be quoted. + This flag does *not* disable quoting; for case-insensitive names, + use an all lower case identifier. """ name = kwargs.pop('name', None) -- cgit v1.2.1