Dominique | 1 Jul 2008 21:09
Picon

Re: Columns division: cast() doen't seem to work. Or how to use it ?


Hi,

Another way to ask the same question:
How can I force SA to take floats into account rather than Numeric ?

Even when columns are declared (in classes or through cast() ) as
floats, SA seems to systematically convert them into Numeric, leading
to the previous question...

I tried making my own type as explained in
http://www.sqlalchemy.org/docs/05/types.html#types_custom, but without
success.

Any help would be much appreciated.
I would really like to improve my level in both python and SA ;-).
Some day, I'll help newbies !

Many thanks in advance

Dominique
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "sqlalchemy" group.
To post to this group, send email to sqlalchemy <at> googlegroups.com
To unsubscribe from this group, send email to sqlalchemy-unsubscribe <at> googlegroups.com
For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---


Gmane