[SQL-CVS] r1032 - SQLObject/trunk/docs
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
|
From: <sub...@co...> - 2005-09-25 06:14:31
|
Author: ianb
Date: 2005-09-25 06:14:26 +0000 (Sun, 25 Sep 2005)
New Revision: 1032
Modified:
SQLObject/trunk/docs/SQLObject.txt
Log:
Added note about _get_/_set_ and .select()
Modified: SQLObject/trunk/docs/SQLObject.txt
===================================================================
--- SQLObject/trunk/docs/SQLObject.txt 2005-09-25 01:38:00 UTC (rev 1031)
+++ SQLObject/trunk/docs/SQLObject.txt 2005-09-25 06:14:26 UTC (rev 1032)
@@ -729,6 +729,14 @@
out. One advantage of methods (as opposed to attribute access) is
that the programmer is more likely to expect this disconnect.
+ Also note while these conversions will take place when getting and
+ setting the column, in queries the conversions will not take place.
+ So if you convert the value from a "Pythonic" representation to a
+ "SQLish" representation, your queries (when using ``.select()`` and
+ ``.selectBy()``) will have to be in terms of the SQL/Database
+ representation (as those commands generate SQL that is run on the
+ database).
+
Reference
=========
|