]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- added a compiler extension that allows easy creation of user-defined compilers,
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 17 Jan 2009 07:03:36 +0000 (07:03 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 17 Jan 2009 07:03:36 +0000 (07:03 +0000)
commiteec0260e124d4d001e3bc8d1e638d92ac3949a9b
tree1064050a6efece06c0befdff81422939d4a514f8
parent419f212c3346173efb4a89ab80a4fe1ba2b4d7e0
- added a compiler extension that allows easy creation of user-defined compilers,
which register themselves with custom ClauseElement subclasses such that the compiler
is invoked along with the primary compiler.  The compilers can also be registered
on a per-dialect basis.

This provides a supported path for SQLAlchemy extensions such as ALTER TABLE
extensions and other SQL constructs.
doc/build/reference/ext/compiler.rst [new file with mode: 0644]
doc/build/reference/ext/index.rst
lib/sqlalchemy/connectors/pyodbc.py
lib/sqlalchemy/dialects/mysql/pyodbc.py
lib/sqlalchemy/engine/default.py
lib/sqlalchemy/ext/compiler.py [new file with mode: 0644]
test/ext/alltests.py
test/ext/compiler.py [new file with mode: 0644]