Fixed bug in example code.

This commit is contained in:
Daniel Smith
2014-04-10 19:15:17 -04:00
parent 9f74861d6d
commit 10ea59241f
+1 -1
View File
@@ -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)