hi
1st one:  i am saving some object; the mapperExtension of the object 
fires additional atomic updates of other things elsewhere (aggregator). 
These things has to be expired/refreshed... if i only knew them.
For certain cases, the object knows exactly which are these target 
things. How (when) is best to expire these instances, i.e. assure that 
nexttime they are used they will be re-fetched?
 a) in the mapperext - this would be before the flush?
 b) later, after flush, marking them somehow ?

and, why atomic updates also have with commit after them? or is this 
sqlite-specific?

2nd one: how to compare with a Decimal? i.e. tableA.c.column == Decimal('7')
ah forget,  i found that, passing asdecimal =True to column's Numeric() 
definition.

btw, the precision/length arguments of Numeric seems misplaced??
isnt format 10.2 meaning length 10 precision 2?
 or the meaning of "length" and "precision" is different here?

2nd.

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