]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Added a new event suite :class:`.QueryEvents`. The
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 10 Mar 2015 23:56:59 +0000 (19:56 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 10 Mar 2015 23:56:59 +0000 (19:56 -0400)
commit710021d22e8a5a053e1c4edc4a30612f6e10b83e
tree158a8e8ad555c255fdddadf891d981b40c6b87ec
parent201ba16fc88439fa100023369dfdfe22625253c9
- Added a new event suite :class:`.QueryEvents`.  The
:meth:`.QueryEvents.before_compile` event allows the creation
of functions which may place additional modifications to
:class:`.Query` objects before the construction of the SELECT
statement.   It is hoped that this event be made much more
useful via the advent of a new inspection system that will
allow for detailed modifications to be made against
:class:`.Query` objects in an automated fashion.
fixes #3317
doc/build/changelog/changelog_10.rst
doc/build/orm/events.rst
lib/sqlalchemy/orm/events.py
lib/sqlalchemy/orm/query.py
test/orm/test_events.py