]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Added func.min(), func.max(), func.sum() as "generic functions",
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 8 Sep 2008 03:51:47 +0000 (03:51 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 8 Sep 2008 03:51:47 +0000 (03:51 +0000)
commit58c5bb7fc104da26cd1797d9680a810a3b79ab0a
treedb54cd7731a7a670b616136ff034b6a0f0b5d1b6
parentcc0dcca7b4bf3ad05630c92012be715c6e515aaf
- Added func.min(), func.max(), func.sum() as "generic functions",
which basically allows for their return type to be determined
automatically.  Helps with dates on SQLite, decimal types,
others. [ticket:1160]

- added decimal.Decimal as an "auto-detect" type; bind parameters
and generic functions will set their type to Numeric when a
Decimal is used.
CHANGES
lib/sqlalchemy/sql/functions.py
lib/sqlalchemy/types.py
test/sql/functions.py