On Oct 13, 2010, at 8:04 PM, Chris Withers wrote: > On 13/10/2010 22:37, Michael Bayer wrote: >> use text() with Numeric(as_decimal=False) > > I can't quite join the dots on this one... > > I get passed a bunch of sql to execute, I don't have control over that. > Where do I wire in Numeric(as_decimal=False) and how do I tell where I need > to given an arbitrary select as a string of sql?
text() is in the docs, including an example of typemap: http://www.sqlalchemy.org/docs/core/expression_api.html?highlight=text#sqlalchemy.sql.expression.text -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalch...@googlegroups.com. To unsubscribe from this group, send email to sqlalchemy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.