On Thu, Feb 14, 2008 at 07:52:10AM -0600, Christopher Singley wrote:
> Well, sqlite doesn't enforce anything, so these constraints 
> just disappear.

   Well, SQLite doesn't have a decimal type, to begin with...

> What about DecimalValidator in sqlobject/col.py (or a subclass)? That
> would seem like a logical place to manually quantize decimals going
> to/from sqlobject.

   Does SQLObject really needs to quantize user's decimals? Why not just
pass them to the backend as is?

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            [EMAIL PROTECTED]
           Programmers don't die, they just GOSUB without RETURN.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to