diff options
author | Daniel Smith <daniel@plumperfect.com> | 2014-04-10 19:15:17 -0400 |
---|---|---|
committer | Daniel Smith <daniel@plumperfect.com> | 2014-04-10 19:15:17 -0400 |
commit | 10ea59241feb9daa8463e1052ed04eaca29abb44 (patch) | |
tree | 61f925fca21c85f3749897aa7dc9347efb728e29 | |
parent | 9f74861d6d2962cb255887c78d5d0f4cb8891cfa (diff) | |
download | sqlalchemy-pr/84.tar.gz |
Fixed bug in example code.pr/84
-rw-r--r-- | doc/build/orm/session.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/build/orm/session.rst b/doc/build/orm/session.rst index d53dc8630..ec96324d5 100644 --- a/doc/build/orm/session.rst +++ b/doc/build/orm/session.rst @@ -2043,7 +2043,7 @@ entire database interaction is rolled back:: self.connection = engine.connect() # begin a non-ORM transaction - self.trans = connection.begin() + self.trans = self.connection.begin() # bind an individual Session to the connection self.session = Session(bind=self.connection) |