use text() with Numeric(as_decimal=False)
On Oct 13, 2010, at 10:01 AM, Chris Withers wrote:
> Hi All,
>
> If I'm doing:
>
> session.execute('select some_numeric from some_table')
>
> ...how do I get floats back in the result instead of decimals?
>
> Chris
>
> --
> You received this message because you are subscribed to the Google Groups
> "sqlalchemy" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/sqlalchemy?hl=en.
>
--
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sqlalchemy?hl=en.