{"code":102,"error":"Invalid query: $nin needs an array."}
这个错误的原因是什么呢?为什么官网错误码里面没有
-
创建时间
21年12月22日
-
最后回复
21年12月22日
- 2
回复
- 45
浏览
- 2
用户
{"code":102,"error":"Invalid query: $nin needs an array."}
这个错误的原因是什么呢?为什么官网错误码里面没有
https://api.yoyochat.cn/1.1/classes/user_information?skip=0&limit=10&where={"$and":[{"location":{"$nearSphere":{"__type":"GeoPoint","latitude":31.239533,"longitude":121.478408}}},{"user":{"$nin":null}},{"interest":{"$in":["英雄联盟","剑网3","王者荣耀"]}},{"user":{"$ne":{"__type":"Pointer","className":"_User","objectId":"61652517b0fc702a29fb0709"}}}]}
解码看到了 "$nin":null 条件,如果不需要这个条件,可以不传