]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Numeric and Float types now have an "asdecimal" flag; defaults to
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 24 Jul 2007 16:36:14 +0000 (16:36 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 24 Jul 2007 16:36:14 +0000 (16:36 +0000)
commit782e578a41385b9997cb10e9e88e224e83d1dec0
tree9e9f0c3aa3500beb45afe455f19292fb5f9937cf
parenta095e8d0ce3eadc11cbeffc97e297ff324677b5a
- Numeric and Float types now have an "asdecimal" flag; defaults to
True for Numeric, False for Float.  when True, values are returned as
decimal.Decimal objects; when False, values are returned as float().
the defaults of True/False are already the behavior for PG and MySQL's
DBAPI modules. [ticket:646]
CHANGES
lib/sqlalchemy/databases/mysql.py
lib/sqlalchemy/databases/postgres.py
lib/sqlalchemy/types.py
test/sql/testtypes.py