Dynamic Schema selection on query #993
-
Hi in my case i am working on a system where we have separate schema for user and structure is same so t it possible to like when i am querying i can specify to which schema it should use? |
Beta Was this translation helpful? Give feedback.
Answered by
dantownsend
May 24, 2024
Replies: 1 comment 6 replies
-
There's a few different options which should work. Option 1 -
|
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
dantownsend
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There's a few different options which should work.
Option 1 -
extra_nodes
Define
extra_nodes
(see docs) onPostgresEngine
:Then you can pass a
node
argument into each query:Option 2 - define tables multiple times
…