Change Postgres schema dinamically #2015
marcosjsfraga
started this conversation in
General
Replies: 1 comment
-
Hi! Exist this possibility: setting on schema in query https://docs.adonisjs.com/reference/database/query-builder#withschema |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm new in AdonisJS, and I need to develop an multi-tenant application based on PostgreSQL schemas.
For this, i need to know how to change schema before connection in database.
I think that this can be done using Middlewares, but i don know how.
Can someone help me?
Beta Was this translation helpful? Give feedback.
All reactions