[SQL-CVS] SQLObject/docs SQLObject.txt,1.11,1.12
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: <ian...@us...> - 2003-04-29 08:23:21
|
Update of /cvsroot/sqlobject/SQLObject/docs In directory sc8-pr-cvs1:/tmp/cvs-serv21139/docs Modified Files: SQLObject.txt Log Message: Noted __connection__'s textual position. Index: SQLObject.txt =================================================================== RCS file: /cvsroot/sqlobject/SQLObject/docs/SQLObject.txt,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** SQLObject.txt 17 Apr 2003 07:17:12 -0000 1.11 --- SQLObject.txt 29 Apr 2003 08:23:17 -0000 1.12 *************** *** 150,156 **** The special variable `__connection__` gives the database connection ! for any classes in the module. You can also use the class variable ! `_connection` in the same way. The MySQL connection is shown, for ! Postgres use ``DBConnection.PostgresConnection(dsnString)``. That's pretty much all you have to do to set the object up -- give it --- 150,157 ---- The special variable `__connection__` gives the database connection ! for any classes in the module (it must appear above the class ! definition). You can also use the class variable `_connection` in the ! same way. The MySQL connection is shown, for Postgres use ! ``DBConnection.PostgresConnection(dsnString)``. That's pretty much all you have to do to set the object up -- give it |