I can't put a array of and() eq() query inside a join.

how can I fix this. any work arounds?
No description
2 Replies
Mykhailo
Mykhailo10mo ago
Hi, @Alvee! It depends on what query do you want to build. Now you can fix it with .innerJoin(schema.<yourSchema>, and(...optionsQuery)) instead of and you can use or Could you please show me your schema? Cause I don't understand what you want to achieve with optionsQuery.
Alvee
AlveeOP10mo ago
thanks. I fixed it already before same way you said. I just had to spread that thing
Want results from more Discord servers?
Add your server