dresende/node-sql-query

where IS NOT NULL

Closed this issue · 1 comments

I don't know if it's correct, but when it's impossible to create IS NOT NULL condition (just <> NULL, which is always false). Updating lib/Where.js on line 95 helped:

case "ne" : op = where.w[k].val === null?"IS NOT":"<>"; break;

Thank you. I also changed "eq" operator to support it.