termdbms icon indicating copy to clipboard operation
termdbms copied to clipboard

libsql support (turso)

Open dezren39 opened this issue 2 years ago • 0 comments

hello! do you think this could add libsql support so one can use turso? it behaves like sqlite driver (mostly) i think you need to include an import and then allow the user to pass 'libsql' as the driver. it works with sqlite drivers, i think the ones you already use.

https://github.com/tursodatabase/libsql-client-go#readme

Installation Install the driver into your module:

go get github.com/tursodatabase/libsql-client-go

Import the driver into your code using a blank import:

import (
	_ "github.com/tursodatabase/libsql-client-go/libsql"
)

Ensure all the module requirements are up to date:

go mod tidy

Add support for sqlite3 database files

dezren39 avatar Jan 11 '24 00:01 dezren39