Re: [web2py] Type Cast Field On The Fly

2015-10-22 Thread Johann Spies
On 20 October 2015 at 20:03, Benson Myrtil wrote: > Hey guys, > > I have a quick question. Does the DAL support type casting on the fly? I > am working with a legacy mssql 2008 database that I cannot alter. Within > this database it has a field of integers but the field

[web2py] Type Cast Field On The Fly

2015-10-21 Thread Benson Myrtil
Hey guys, I have a quick question. Does the DAL support type casting on the fly? I am working with a legacy mssql 2008 database that I cannot alter. Within this database it has a field of integers but the field type is string. When I try to run the sum() function on that field I get