[sqlalchemy] Re: String to Column Type Conversion

2009-11-23 Thread Tom Burdick
Ok, here's a small test. It actually works fine when using sqlite, but not when using postgresql. I want it to work with postgresql! This probably helps more than the description above. http://www.pylonshq.com/pasties/fe6a2857f3f72d499914caabce0d41bc -Tom On Nov 23, 10:33 am, Tom Burdick

Re: [sqlalchemy] Re: String to Column Type Conversion

2009-11-23 Thread Thomas Burdick
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: