Skip to content
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

Read only transaction support #39

Open
Tolsi opened this issue Jan 28, 2020 · 4 comments
Open

Read only transaction support #39

Tolsi opened this issue Jan 28, 2020 · 4 comments

Comments

@Tolsi
Copy link

Tolsi commented Jan 28, 2020

How can I create a Read-Only transaction?

@seratch
Copy link
Owner

seratch commented Jan 28, 2020

Use the same connection to run queries within a transaction.

@Tolsi
Copy link
Author

Tolsi commented Jan 28, 2020

I ask about how to create a transaction what can't change anything in db, but only read, a 'read-only' one

@seratch
Copy link
Owner

seratch commented Jan 28, 2020

Currently, this library doesn't have such an interface yet. If you set a connection as read-only, it surely works, tho.

@Tolsi
Copy link
Author

Tolsi commented Jan 28, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants