标签: json-server
使用 _ne 运算符,我可以排除特定值。
GET / posts?id_ne = 1
如何排除两个或多个单个值?我试图按如下方式链接参数,但这不起作用。
GET / posts?id_ne = 1&id_ne = 5
答案 0 :(得分:0)
针对多个_ne运算符的修复程序已于2019年9月2日添加到json-server中。
_ne
json-server
请参阅https://github.com/typicode/json-server/pull/1013