[db] finding column with NULL value is not working

It is currently generating:

WHERE x = NULL

For example, in case of MySQL it should generate:

WHERE ISNULL(x)