Join Slack
Powered by
Hello everyone, I am using prisma with multiple te...
# prisma-client
l
Luan Rodrigues
08/12/2022, 3:05 PM
Hello everyone, I am using prisma with multiple tenants, is there any way to filter the tenant ID on every query?
👀 1
n
Nurul
08/16/2022, 11:37 AM
Hey Luan 👋 It seems
middleware
is what you are looking for, you could use middleware to filter and get tenant ID on every query.
v
Vladi Stevanovic
08/29/2022, 7:25 PM
👋 Hello
@Luan Rodrigues
, did you have a chance to check Nurul's suggestion? Let us know if you still have any questions!
8
Views
Open in Slack
Previous
Next