summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/orm/session.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2012-08-16 10:02:41 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2012-08-16 10:02:41 -0400
commit0e29e6e7abea6ae7235de302c966ab9fb343819c (patch)
tree86b9689740f10dff623ce5f61ce6cb38f5f7a5b4 /lib/sqlalchemy/orm/session.py
parentca049bc670d0fbaaa33a097dc9a7bf168dd3dceb (diff)
downloadsqlalchemy-0e29e6e7abea6ae7235de302c966ab9fb343819c.tar.gz
add a note, no autoflush with execute, [ticket:2550]
Diffstat (limited to 'lib/sqlalchemy/orm/session.py')
-rw-r--r--lib/sqlalchemy/orm/session.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sqlalchemy/orm/session.py b/lib/sqlalchemy/orm/session.py
index 191d6babe..4ab41a79d 100644
--- a/lib/sqlalchemy/orm/session.py
+++ b/lib/sqlalchemy/orm/session.py
@@ -805,6 +805,8 @@ class Session(object):
with no active transaction will produce a result that auto-closes
the underlying :class:`.Connection`.
+ The :meth:`.Session.execute` method does *not* invoke autoflush.
+
:param clause:
A :class:`.ClauseElement` (i.e. :func:`~.sql.expression.select`,
:func:`~.sql.expression.text`, etc.) or string SQL statement to be executed. The clause