-
Notifications
You must be signed in to change notification settings - Fork 348
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multitenant Application in Doobie #1956
Comments
You can modify val additionalBefore: ConnectionIO[Unit] = sql"SET search_path = ...".run.void
// append an additional action to an existing one
val transactor0 = Transactor.before.modify(transactor, _ *> additionalBefore) |
Thank you I'll try it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
we have a multi tenant application and we choose doobie for our sql.
Do we have a method in doobie to have a multi tenant application to force a filter for each transaction ?
For example hook transactor ?
Fragment hooks ?
The text was updated successfully, but these errors were encountered: