Allow for selection of schema dynamically at query time #2117
robot-head
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
I think the easiest way is actually leaving the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We have a multi-tenant application we are working on, and we'd like to select the postgres schema to execute our queries against at runtime.
It seems that the
schema_name
can be configured as part of anEntity
trait implementation, but we were hoping this could be supplied optionally to the query methods: https://docs.rs/sea-orm/latest/sea_orm/entity/trait.EntityName.html#method.schema_nameBeta Was this translation helpful? Give feedback.
All reactions