-
Notifications
You must be signed in to change notification settings - Fork 50
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
Is there a way to specify read-only connection? #364
Comments
Can't seem to remove the |
I am not sure what is a read-only mode regarding |
Something analogous to setting session characteristics in postgres would be useful. Yea there's always that option for creating a read-only user. But i needed this for something |
It seems like a db operation. Whether to have this feature is out of the scope of otelsql, as it is a wrapper to monitor the DB operations, not a driver that implements the functionality. Assuming you are using a DB driver that supports functionality with database/sql interfaces, then otelsql should also support this feature. |
Description
It would be nice to have a way to connect to a database in read-only mode. Maybe there's a way already, i didn't find it in the docs
The text was updated successfully, but these errors were encountered: