This is exactly what I was looking for, thank you.
Tom
On Nov 23, 2009 12:42 PM, "Conor" <conor.edward.da...@gmail.com> wrote:
Tom Burdick wrote: > Ok, here's a small test. It actually works fine when
using sqlite, but > not wh...
You can use sqlalchemy.cast() to coerce the type on the DB side:
coerced_teststr = cast(teststr, column.type)
records = session.query(History).filter(column==coerced_teststr)
-Conor
-- You received this message because you are subscribed to the Google Groups
"sqlalchemy" group. T...