Date: 2009-01-26 11:18:48 -0700 (Mon, 26 Jan 2009)
New Revision: 3773
Merged revision 3771 from the branch 0.9: documentation update.
--- SQLObject/trunk/docs/sqlobject-architecture.txt 2009-01-26 18:18:12 UTC (rev 3772)
+++ SQLObject/trunk/docs/sqlobject-architecture.txt 2009-01-26 18:18:48 UTC (rev 3773)
@@ -15,7 +15,7 @@
| > How does the select(...) method know what to do?
-In short, .select() recusively evaluates the top-most SQLExpression to a
+In short, .select() recursively evaluates the top-most SQLExpression to a
SQLExpression("foo", ">", 30) => "foo > 30"
@@ -26,12 +26,13 @@
produces an instance of SelectResults class that upon being iterated over
produces an instance of Iteration class that upon calling its .next()
method (it is iterator!) construct the SQL query string, passes it to the
-backend, fetches the results and passes them back to the user.
+backend, fetches the results, wraps every row as SQLObject instance and
+passes them back to the user.
For the details of the implementation see sqlobject/main.py for SQLObject,
-sqlbuilder.py for SQLExpression, sqlobject/dbconnection.py for DBConnection
-class (that constructs the query strings) and Iteration class, and
-different subdirectories of sqlobject for concrete implementations of
+sqlobject/sqlbuilder.py for SQLExpression, sqlobject/dbconnection.py for
+DBConnection class (that constructs the query strings) and Iteration class,
+and different subdirectories of sqlobject for concrete implementations of
connection classes - different backends require different query strings.
.. image:: http://sourceforge.net/sflogo.php?group_id=74338&type=4