Re: [SQLObject] SQLObject Type Coercion
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Oleg B. <ph...@ma...> - 2006-03-19 14:28:28
|
On Sun, Mar 19, 2006 at 02:44:32PM +0100, Ed Singleton wrote: > Is there a convenient way to get SQLObject to convert all the data > added to it to the right type for it's column types? For example, > when inserting into a IntCol field, can it automatically call int() on > the value being passed? By adding a validator to your columns. Oleg. -- Oleg Broytmann http://phd.pp.ru/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |