Re: [SQLObject] Re: problem: implementing BoolCol
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Nick <ni...@dd...> - 2003-05-05 21:58:10
|
On Mon, 2003-05-05 at 14:39, Ian Bicking wrote: > Validation may be important when fetching from the database, if > SQLObject doesn't have total control of the database, and the > constraints aren't as restrictive as the validation. That might be an > obscure case, though. Conversion is important, especially for DBM and SQLite, which only store strings, coming out of the database. Hoever, *validating* data coming back out of the database can be devastating to an application if it can't control the data going into the database from another source. You'd never be able to retrieve a row, even to fix the data, if you got an exception because the data already in there is bad. Nick |