Loopbackjs 字段为空的环回

Loopbackjs 字段为空的环回,loopbackjs,loopback,Loopbackjs,Loopback,如何查询空字段?我得到一个sql错误 filter=[where][category_id][eq][null]结果为 SELECT WHERE category_id'null' ORDER BY id 使用最新版本的环回和环回连接器mysql您可以像 /model?filter[where][category_id][eq]=null 正如您在环回中看到的那样 /medias?filter[where][keywords][inq]=foo&filter[where][keywo

如何查询空字段?我得到一个sql错误

filter=[where][category_id][eq][null]结果为

SELECT WHERE category_id'null' ORDER BY id

使用最新版本的环回和环回连接器mysql

您可以像

/model?filter[where][category_id][eq]=null
正如您在环回中看到的那样

/medias?filter[where][keywords][inq]=foo&filter[where][keywords][inq]=bar

参考链接:

您可以使用
过滤器

/model?filter[where][category_id][eq]=null
正如您在环回中看到的那样

/medias?filter[where][keywords][inq]=foo&filter[where][keywords][inq]=bar
参考链接: