Is there a way to do an In clause?
Like, I have a list of Ids that I want to query for, how do I do that using .filter()? I don't see a q.eq(q.field("images"), ['1', '2', '3']))
2 Replies
or I guess the recommended way is to do a .map and fetch
You can do multiple queries with a .map, or you can do a
q.or(...images.map((image)=>q.eq(q.field("images"), image)))