Date: 2009-01-26 11:18:12 -0700 (Mon, 26 Jan 2009)
New Revision: 3772
Merged revision 3771 from the branch 0.9: documentation update.
--- SQLObject/branches/0.10/docs/sqlobject-architecture.txt 2009-01-26 18:16:35 UTC (rev 3771)
+++ SQLObject/branches/0.10/docs/sqlobject-architecture.txt 2009-01-26 18:18:12 UTC (rev 3772)
@@ -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