[Sqlalchemy-commits] sqlalchemy: call the simply police
Brought to you by:
zzzeek
From: <co...@sq...> - 2011-11-23 00:01:36
|
details: http://hg.sqlalchemy.org/sqlalchemy/sqlalchemy/rev/49167171134b changeset: 7918:49167171134b user: zzzeek date: Tue Nov 22 19:01:21 2011 -0500 description: call the simply police diffstat: doc/build/core/tutorial.rst | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diffs (21 lines): diff -r 52b939fbad3b -r 49167171134b doc/build/core/tutorial.rst --- a/doc/build/core/tutorial.rst Tue Nov 22 18:46:45 2011 -0500 +++ b/doc/build/core/tutorial.rst Tue Nov 22 19:01:21 2011 -0500 @@ -1522,7 +1522,7 @@ "FROM" clause that can then be referenced in the WHERE clause directly. On MySQL, multiple tables can be embedded into a single UPDATE statement separated by a comma. The SQLAlchemy :func:`.update` construct supports both of these modes -implicitly, simply by specifying multiple tables in the WHERE clause:: +implicitly, by specifying multiple tables in the WHERE clause:: stmt = users.update().\ values(name='ed wood').\ @@ -1555,7 +1555,7 @@ SQLAlchemy doesn't do anything special when these constructs are used on a non-supporting database. The ``UPDATE FROM`` syntax generates by default -when multiple tables are present, and the statement will simply be rejected +when multiple tables are present, and the statement will be rejected by the database if this syntax is not supported. .. _deletes: |