go-dqlite icon indicating copy to clipboard operation
go-dqlite copied to clipboard

Support deletion of database

Open MathieuBordere opened this issue 2 years ago • 0 comments

SQLite doesn't support the "DROP database" SQL statement and says to delete the database file instead. In dqlite's case it lives in memory. SQLite's xDelete VFS method to delete the in-memory file is implemented in dqlite, but can't be accessed through the go-dqlite client.

We should provide a way for a user to delete a database so that after reopening a deleted database, the database is pristine.

MathieuBordere avatar Sep 12 '22 13:09 MathieuBordere