diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2007-02-04 03:43:22 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2007-02-04 03:43:22 +0000 |
commit | 80f48f250b49f87a67c83ea71b0635d6645f26c3 (patch) | |
tree | 5544bf7288a556b847d7dd296f7918a57cf93ce0 /lib/sqlalchemy/schema.py | |
parent | 8908ea81d230185ddda53509594757929e65e3a5 (diff) | |
download | sqlalchemy-80f48f250b49f87a67c83ea71b0635d6645f26c3.tar.gz |
- added literal_column() to specify a column clause that should not undergo any quoting
- straight text sent to select() added as literal_column
- fix for issue in [ticket:450]
Diffstat (limited to 'lib/sqlalchemy/schema.py')
-rw-r--r-- | lib/sqlalchemy/schema.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sqlalchemy/schema.py b/lib/sqlalchemy/schema.py index 44ba85453..ae712252b 100644 --- a/lib/sqlalchemy/schema.py +++ b/lib/sqlalchemy/schema.py @@ -193,9 +193,9 @@ class Table(SchemaItem, sql.TableClause): quote_schema=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. - case_sensitive=True : indicates quoting should be used if the identifier needs it. + case_sensitive=True : indicates quoting should be used if the identifier contains mixed case. - case_sensitive_schema=True : indicates quoting should be used if the identifier needs it. + case_sensitive_schema=True : indicates quoting should be used if the identifier contains mixed case. """ super(Table, self).__init__(name) self._metadata = metadata @@ -362,7 +362,7 @@ class Column(SchemaItem, sql._ColumnClause): to the database. This flag should normally not be required as dialects can auto-detect conditions where quoting is required. - case_sensitive=True : indicates quoting should be used if the identifier needs it. + case_sensitive=True : indicates quoting should be used if the identifier contains mixed case. """ name = str(name) # in case of incoming unicode super(Column, self).__init__(name, None, type) |