Switch PostgreSQL schema in a query context #5257
Labels
kind/feature
A request for a new feature.
team/client
Issue for team Client.
topic: client api
topic: multi-tenant
topic: postgresql
Problem
Prisma doesn't give the ability to change Postgres schema in a query context.
I'm developing a SAAS app and I would have liked to use Prisma, but when developing my app I have a lot of tables for each tenant so i use the following postgresql schemas:
So I'm using Knex + Objection.js which give me the ability to select postgres schema in a query context, like so:
Is there something am I missing in the prisma docs or was this feature already discussed?
The text was updated successfully, but these errors were encountered: