Last I heard, SA was requiring only Python 2.3, so in-library support for Decimal would be ruled out.

Rick


On 5/30/06, Yuan HOng < [EMAIL PROTECTED]> wrote:
I got the schema reflected from a PostgreSQL table, where some fields
are defined as numeric type. In sqlalchemy the column type is shown as
sqlalchemy.databases.postgres.PGNumeric. It seems that contents of
these fields are returned by sqlalchemy as a float instead of a
decimal.Decimal object.

Is there a way to get a Decimal object returned instead?

--
Hong Yuan

大管家网上建材超市
装修装潢建材一站式购物
http://www.homemaster.cn

_______________________________________________
Sqlalchemy-users mailing list
Sqlalchemy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users

Reply via email to