Hello all! I wonder if its possible with prisma to...
# prisma-client
p
Hello all! I wonder if its possible with prisma to make a IN query where i can define pairs of values matching in two columns at the same time. Pseudocode:
... where: {in: [{columnA: 1, columbB:2}, {columnA: 15, columbB:17}]} ...
1
n
Hey Philipp 👋 I don’t think it’s possible natively in prisma to compare values of two columns in a single IN query.
p
Thank you! I found a different solution in the meantime.