【发布时间】:2017-01-20 18:59:34
【问题描述】:
我正在尝试使用 knex 创建以下查询:
SELECT * FROM users group by users.location having users.photo is not null
如下:
knex("users").groupBy("users.location").having("users.photo", "IS NOT", "Null")
我收到以下错误:
The operator IS NOT is not permitted
我浏览了他们的文档,找不到任何有用的东西。
【问题讨论】:
标签: javascript mysql node.js knex.js