Hello. I've find small but important issue. Please open `lib/dialects/abstract/query-generator.js` ``` return this._joinKeyValue(key, this.escape(value, field), value === null ? this.OperatorMap[Op.is] : this.OperatorMap[Op.eq], options.prefix); ``` I am doing select query: ``` .findOne({ where: { a: undefined } }) ``` It will generate: ``` SELECT ... WHERE "table_name"."a" = NULL LIMIT 1 ``` It is wrong, we should use **is** operator for `NULL`. I will provide a pull request soon.
Activity