go-libsql
go-libsql copied to clipboard
libSQL API for Go
I have not been able to get this to run on wsl, as there are binaries for linux i thought this would work, but i been unable to get it...
Exec method appears to not support multi line statement queries, it executes up until first `;` then completes. Minimal code required to reproduce. ```go db, err := sql.Open("libsql", url) if...
Just signed up to try Turso as a huge fan of SQLite but sadly encountered a weird bug right off the bat. I say weird because when I try the...
> Was playing whit this yesterday in a project and seems like it's not using args passed to query. So for example WHERE id = 1 would works but 'WHERE...
The prebuilt libraries are very large in comparison to the ones in `npm` native packages where the binary is only 8 MB: https://www.npmjs.com/package/@libsql/darwin-arm64?activeTab=code ``` penberg@vonneumann go-libsql % find . -name...
Hi, Thanks in advance for checking out. I've asked this on the turso discord as well, and if you've come across it as a duplicate spam, apologies. Wanted to reach...
Some sqlite pragmas return a value. For example, `mmap_size` (running in sqlite shell): ``` sqlite> pragma mmap_size=1024; 1024 ``` The libsql driver's `Exec` method fails with an "Execute returned rows"...
There's an example for local and sync, but nothing for remote.
The `libsql` Rust crate supports extension loading. Let's add support for that in the Go driver, similar to: https://pkg.go.dev/github.com/mattn/go-sqlite3#SQLiteConn.LoadExtension