on https://parse.com/docs/js_guide#queries-arrays there is an example of how to find objects in which the value of the key array contains each of elements 2, 3 and 4 with the following:
// Find objects where the array in arrayKey contains all of the elements 2, 3, and 4. query.containsAll("arrayKey", [2, 3, 4]);
However, I would like to find objects in which the value of the key array contains at least one (not necessarily all) elements 2,3 and 4.
Is it possible?
I'm not sure, but what happens if you try containedIn?
containedIn
I think if you pass an array, it checks to see if any files are contained.
query.containedIn("arrayKey", [2,3,4]);
, equalTo , , TRUE. , - . , , - "arrayKey" . - , .
equalTo
let Query:PFQuery = PFQuery(className: "className") Query.whereKey("Field Name", containedIn: array)// ["1","2","3"];
Source: https://habr.com/ru/post/1540073/More articles:How unique is the 5-digit mt_rand () number? - phphttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1540069/python-setuptools-install-pacakge-dependencies-from-a-local-repository&usg=ALkJrhiaQEglMZego9sU43Qnqk1Zmz0ltgSelect a single column from a row in Laravel? - laravelhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1540071/how-do-you-add-additional-nics-to-a-compute-engine-vm&usg=ALkJrhgvv6SNp55Qq90XKD24Dx0dfUd1zwFloyd-Warsall Algorithm - Representation of "Infinity" - javaRemove all items matching the condition in IDictionary - c #PyDev plugin cannot find python 3.4 - eclipseFailed to run espresso tests for Android - androidHow to place the mouse position in the part of the image found in another image? - mathHow to create an array of images in a div - javascriptAll Articles