rest - Parse restapi "where" object id not in pointer array -
i have events class "creators" field array type contains pointers multiple users in _user class. need find events weren't created specific user.
i'm close need querying events class where: {"creators":{"$nin":[{"__type":"pointer","classname":"_user","objectid":"0lxcywcbvv" }]}}
the result excludes events user 0lxcywcbvv user in array. doesn't exclude events multiple users (including user 0lxcywcbvv) present - need.
this how multiple user array looks in databrowser: [{"__type":"pointer","classname":"_user","objectid":"kidk1ekzy7"},{"__type":"pointer","classname":"_user","objectid":"0lxcywcbvv"}]
the problem wasn't in rest query in 1 of fields wrongly constructed during testing. query in question works fine!
Comments
Post a Comment