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

Add support for passing connection mode to sqlite3 #4288

ysagal opened this Issue Aug 10, 2015 · 2 comments


2 participants

ysagal commented Aug 10, 2015

sqlite3 supports passing of "mode" on new connections:

new sqlite3.Database(filename, [mode], [callback])
mode (optional): One or more of sqlite3.OPEN_READONLY, sqlite3.OPEN_READWRITE and sqlite3.OPEN_CREATE. The default value is OPEN_READWRITE | OPEN_CREATE.

I believe this can be handled by passing mode to dialectOptions and modifying this line to pass it on to the sqlite3 library:


This comment has been minimized.


janmeier commented Aug 11, 2015

Sure, PR welcome :-)


This comment has been minimized.


ysagal commented Aug 11, 2015

Okie dokie #4302

@janmeier janmeier closed this Aug 13, 2015

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