-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
file:memory does not appear to work #92
Comments
You will also need to pass in edit: I believe adding |
This worked perfectly! You are amazing! |
I will gladly submit a documentation PR - would you like me to? I write ok docs. |
Sure, sounds good. 👍 |
Dear maintainer,
I use the sqlitex.Pool for simulating in-memory testing connections, but it does not appear to work when using
file:memory?mode=memory
with multiple connections as described below:::
between file and memory.I care about this, because my authorization code occasionally may make a database call, which will block the Pool, making this impossible to test. I can work around this by writing my own wrapper around the Pool and returning the same connection when in `file:memory:" mode, but I want to know if I am doing something wrong here, or may be there is a better way. Thank you!
The text was updated successfully, but these errors were encountered: