From: Mike Bayer Date: Mon, 22 Feb 2010 17:24:49 +0000 (+0000) Subject: fix a typo, [ticket:1662] X-Git-Tag: rel_0_6beta2~160 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8f79b41217558ef04677445d0a6a0919b536967e;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git fix a typo, [ticket:1662] --- diff --git a/doc/build/sqlexpression.rst b/doc/build/sqlexpression.rst index 0870bc8483..613f4551de 100644 --- a/doc/build/sqlexpression.rst +++ b/doc/build/sqlexpression.rst @@ -377,7 +377,7 @@ Wow, surprise ! This is neither a ``True`` nor a ``False``. Well what is it ? >>> str(users.c.id==addresses.c.user_id) 'users.id = addresses.user_id' -As you can see, the ``==`` operator is producing an object that is very much like the ``Insert`` and ``select()`` objects we've made so far, thanks to Python's ``__eq__()`` builtin; you call ``str()`` on it and it produces SQL. By now, one can that everything we are working with is ultimately the same type of object. SQLAlchemy terms the base class of all of these expressions as ``sqlalchemy.sql.ClauseElement``. +As you can see, the ``==`` operator is producing an object that is very much like the ``Insert`` and ``select()`` objects we've made so far, thanks to Python's ``__eq__()`` builtin; you call ``str()`` on it and it produces SQL. By now, one can see that everything we are working with is ultimately the same type of object. SQLAlchemy terms the base class of all of these expressions as ``sqlalchemy.sql.ClauseElement``. Operators ==========