Skip to content

Enabling readPool for in-memory database causes INSERT/UPDATE/DELETE commands to not work #3337

Answered by simolus3
alexmercerind asked this question in Q&A
Discussion options

You must be logged in to vote

sqlite3_flutter_libs omits the shared cache option as recommended, which is why the option has no effect on Flutter builds while working in unit tests.

I can't really come up with a workaround for this except opening a temporary database on disk.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@simolus3
Comment options

Answer selected by alexmercerind
@alexmercerind
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