Skip to content

SQlite in memory for testing #1032

Answered by dantownsend
przwr asked this question in Q&A
Jun 19, 2024 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

From the SQLite docs, it also looks like you can do file::memory:?cache=shared, to make the in-memory DB accessible from multiple connections:

https://www.sqlite.org/inmemorydb.html#sharedmemdb

I haven't tested this though.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@dantownsend
Comment options

Answer selected by przwr
@przwr
Comment options

@przwr
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants