]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- added case_sensitive argument to MetaData, Table, Column, determines
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 31 Aug 2006 18:58:22 +0000 (18:58 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 31 Aug 2006 18:58:22 +0000 (18:58 +0000)
commit0c7250a4740b26875d94fc9a1cb714fc970ea700
tree79f3661459b4aab78681ae8c42f51944858ef0e9
parent2e077dc627bfbc9f81cdb363a1ea1acf32f4cfe9
- added case_sensitive argument to MetaData, Table, Column, determines
itself automatically based on if a parent schemaitem has a non-None
setting for the flag, or if not, then whether the identifier name is all lower
case or not.  when set to True, quoting is applied to identifiers with mixed or
uppercase identifiers.  quoting is also applied automatically in all cases to
identifiers that are known to be reserved words or contain other non-standard
characters. various database dialects can override all of this behavior, but
currently they are all using the default behavior.  tested with postgres, mysql,
sqlite.  needs more testing with firebird, oracle, ms-sql. part of the ongoing
work with [ticket:155]
CHANGES
lib/sqlalchemy/ansisql.py
lib/sqlalchemy/databases/postgres.py
lib/sqlalchemy/schema.py
test/orm/cycles.py
test/sql/quote.py
test/sql/select.py