inArray or sql in options?
Hello, looking for some guidance on doing a sql
in
with convex.
In drizzle, I am doing something like:
I'm not seeing a good way to do similar in convex, other than previous suggestions to query all and filter in ts.
Is there a way to do something like:
thanks!1 Reply
nope that's not possible. you can query for each
gameId
separately and merge the results. or do the filter in typescript (https://stack.convex.dev/complex-filters-in-convex)Using TypeScript to Write Complex Query Filters
There’s a new Convex helper to perform generic TypeScript filters, with the same performance as built-in Convex filters, and unlimited potential.