How would you do something like this then:

session.query.(LedgerLine).query(LedgerLine.base_amount.between(decimal1,
decimal2))

the between() won't work since sqlite won't be able to compare your
pickled amounts.

Pickling cannot be an option in all cases particularly when you are
storing amounts for accounting books...

Florent.


On 8/24/07, svilen <[EMAIL PROTECTED]> wrote:
>
> decimals.. u can use pickling? slower, yes.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to