tursodatabase / libsql

libSQL is a fork of SQLite that is both Open Source, and Open Contributions.

Home Page:https://turso.tech/libsql

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support shared in memory DBs

avinassh opened this issue · comments

libsql driver doesnt support shared in memory databases - https://www.sqlite.org/inmemorydb.html

open("file::memory:?cache=shared")

this will open an in memory DB and any connection in the same process, can access the same in memory db. This is very handy in tests.

bug reported here: https://discord.com/channels/933071162680958986/1235911696288317471