From c9b37f9689dca784a0a5d932cd8f0cd133c436cc Mon Sep 17 00:00:00 2001 From: Feanil Patel Date: Sun, 23 Jul 2017 09:17:39 -0400 Subject: [PATCH] Make flush logic slightly clearer in tutorial. Improve the wording of how sessions commit changes. --- doc/build/orm/tutorial.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/build/orm/tutorial.rst b/doc/build/orm/tutorial.rst index 9569e4b1f9..419e0f4101 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 -- 2.47.3