]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- The :meth:`.ConnectionEvents.after_cursor_execute` event is now
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 19 Mar 2014 17:03:44 +0000 (13:03 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 19 Mar 2014 17:03:44 +0000 (13:03 -0400)
commit2a1a79b6ce53f2e1dc4cd48bbca5c5a148b8b285
tree40acfcb869ba3747e531c172627d2bccd13d18f4
parent89a8e0d187b8967c9b8291bcdc3078335704dbfa
- The :meth:`.ConnectionEvents.after_cursor_execute` event is now
emitted for the "_cursor_execute()" method of :class:`.Connection`;
this is the "quick" executor that is used for things like
when a sequence is executed ahead of an INSERT statement, as well as
for dialect startup checks like unicode returns, charset, etc.
the :meth:`.ConnectionEvents.before_cursor_execute` event was already
invoked here.  The "executemany" flag is now always set to False
here, as this event always corresponds to a single execution.
Previously the flag could be True if we were acting on behalf of
an executemany INSERT statement.
doc/build/changelog/changelog_09.rst
lib/sqlalchemy/engine/base.py
test/engine/test_execute.py