what about using custom compiler functions
(
http://docs.sqlalchemy.org/en/rel_0_9/core/compiler.html#utc-timestamp-function
) ?
you could make a custom function...
sum_integer()
and just call that instead of the default sqlalchemy option
--
You received this message because you are
Hey Jonathan,
On Fr, 2013-12-06 at 10:12 -0800, Jonathan Vanasco wrote:
what about using custom compiler functions
that is definitely a good idea to cast the computation result more
elegantly. Do you also know a way to solve the issue of doing it wrong
by accident and not noticing?
Besides
I just learned all about the Events model. You could potentially write a
listener that can filter the data for you. I'm not very familiar with the
events though, and it could be a bit difficult to do -- as some items would
be functions, others column operations, and others from 'text'