Re: [sqlalchemy] Nonefy arguments

2016-06-20 Thread Mike Bayer
On 06/17/2016 04:45 PM, fer mario wrote: Hello Guys, I was having issues cause some empty arguments were treated as "" (emtpy) instead of none, so the filter() was translating the query as 'where column=""' instead of "where column is NULL", so I'm trying to write some validation in my add met

[sqlalchemy] Nonefy arguments

2016-06-17 Thread fer mario
Hello Guys, I was having issues cause some empty arguments were treated as "" (emtpy) instead of none, so the filter() was translating the query as 'where column=""' instead of "where column is NULL", so I'm trying to write some validation in my add method in my classes: class Someclass(Object