i think this filter will work however i try to add some of my ._ids to an array and the arrya is empty. Should this be done with javscript and what is some example code?
wixData.filter().hasSome(“fieldKey”, item.fieldKey._id));
i think this filter will work however i try to add some of my ._ids to an array and the arrya is empty. Should this be done with javscript and what is some example code?
wixData.filter().hasSome(“fieldKey”, item.fieldKey._id));
Adding to an array in JS is done using .push(). Look up arrays on w3schools.com
Thanx Giri,
I already was using .push() and everything else under the sun from w3schools. It was how i used the array it wasnt populating because it was returning before populating.