Join Slack
Powered by
Hello all! I wonder if its possible with prisma to...
# prisma-client
p
Philipp Klein
08/08/2022, 1:45 PM
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
Nurul
08/10/2022, 2:18 PM
Hey Philipp 👋 I don’t think it’s possible natively in prisma to compare values of two columns in a single IN query.
p
Philipp Klein
08/10/2022, 2:27 PM
Thank you! I found a different solution in the meantime.
2
Views
Open in Slack
Previous
Next