From: Feanil Patel Date: Sun, 23 Jul 2017 13:17:39 +0000 (-0400) Subject: Make flush logic slightly clearer in tutorial. X-Git-Tag: rel_1_1_12~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79933575323df955e68183ab64dbf41c36896749;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Make flush logic slightly clearer in tutorial. Improve the wording of how sessions commit changes. (cherry picked from commit c9b37f9689dca784a0a5d932cd8f0cd133c436cc) --- diff --git a/doc/build/orm/tutorial.rst b/doc/build/orm/tutorial.rst index f089b650f4..e2e23fbb81 100644 --- a/doc/build/orm/tutorial.rst +++ b/doc/build/orm/tutorial.rst @@ -456,7 +456,7 @@ three new ``User`` objects we've added: ('fred', 'Fred Flinstone', 'blah') COMMIT -:meth:`~.Session.commit` flushes whatever remaining changes remain to the +:meth:`~.Session.commit` flushes the remaining changes to the database, and commits the transaction. The connection resources referenced by the session are now returned to the connection pool. Subsequent operations with this session will occur in a **new** transaction, which will again