remi jolin wrote: > Hello, > > I have the following definition (using Elixir) > class Manifestation(Entity): > has_field('price', Numeric) > The DB is mysql > > and something like > m = Manifestation(price=10.0) > > then when accessing to this manifestation again (after flush, clear, etc...) > I have this strange behavior > >>> m.price > 10 > False > >>> m.price > 10.0 > True > >>> m.price > 12.34 > True > > The same definition works great when using a sqlite DB. > Any idea ?
what's the repr() of m.price? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---