Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upRead & Write over separate connection #1588
Comments
This comment has been minimized.
Yes. This would work the same as any other database driver. Create users with read access vs read/write access, and establish the connection using those.
No, there is not. |
sgrif
closed this
Mar 6, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
flip111 commentedMar 6, 2018
Is there any support to separate read and write queries over different connections? This is useful for Sqlite where you can write with one connection but read with multiple using write ahead logging. I think this could also be useful if you have one write-master database server and a couple of read-slave database servers (obviously another platform than sqlite). Is there any method to inspect querybuilder-queries or handwritten queries at compile time to see if they are read or write?