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

Reply via email to