Author: phd
Date: Wed Dec 15 13:09:56 2010
New Revision: 4299
Log:
SQLBuilder needs more and better documentation.
Modified:
SQLObject/trunk/docs/SQLBuilder.txt
Modified: SQLObject/trunk/docs/SQLBuilder.txt
==============================================================================
--- SQLObject/trunk/docs/SQLBuilder.txt Wed Dec 15 12:55:59 2010 (r4298)
+++ SQLObject/trunk/docs/SQLBuilder.txt Wed Dec 15 13:09:56 2010 (r4299)
@@ -9,10 +9,10 @@
.. _`relevant SQLObject documentation`: SQLObject.html#exported-symbols
-Using SQLBuilder
-================
+SQLExpression
+=============
-SQLBuilder uses clever overriding of operators to make Python
+SQLExpression uses clever overriding of operators to make Python
expressions build SQL expressions -- so long as you start with a Magic
Object that knows how to fake it.
@@ -63,7 +63,8 @@
>> person.created < func.NOW()
-That's it -- enjoy!
+To pass a constant, use the ``const`` variable which is actually an
+alias for func.
.. image:: http://sflogo.sourceforge.net/sflogo.php?group_id=74338&type=10
:target: http://sourceforge.net/projects/sqlobject
|