When creating sub-arrays, you can want them with an and
or an or
function.
I can do the and
function with multiple .where() conditions
my_array.where(`field1`, 1, "==").where(`field2`, 1, "==")
So now I want to do the or
function - so basically to merge two arrays:
my_array.where(`field1`, 1, "==") MERGED WITH my_array.where(`field2`, 1, "==")
How do I do that?
While this kind of thing can be done during database access, I need it for Data Store access.