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

sqlite3 driver for go using database/sql

Results 242 go-sqlite3 issues
Sort by recently updated
recently updated
newest added

i'm using VS CODE on linux, when i compile my project with cmd: go build -tags "sqlite_math_functions" everythings go well. Then i have some issues with VSCODE debug.... While running...

current implemented sqlite version is 3.45.1 but the current from sqlite is 3.46.0

This PR adds support for calling sqlite3_status64 from go. See also https://github.com/mattn/go-sqlite3/issues/701#issuecomment-472708871

## Background We are using `mattn/go-sqlite3` in [`stackql/stackql`](https://github.com/stackql/stackql); we need to add custom extension functions specific to our program. We wouldn't expect these to be committed to this project, but...

A valid sqlite header must always be included (like in the other files) but sqlite3-binding.h explicitly guards against the system library case. This fixes forgejo compilation with libsqlite3 tag.

This PR fixes the memory leak in the `callbackRetText` function by freeing the memory allocated by the code: ```go C.CString(v.Interface().(string)) ```

## Summary of Changes This pull request implements the `database/sql/driver.Connector` interface for `go-sqlite3` by adding a `SQLiteConnector` struct and a `NewConnector` method, addressing issue #1001. The implementation enables configuring SQLite...

There is a very handy extension for generating UUIDs in sqlite: https://sqlite.org/src/file/ext/misc/uuid.c It would be nice to include it into go-sqlite3 as a loadable extension. It's actually very small and...

I'm running into a parsing error when executing a `CREATE TRIGGER` statement including a `DELETE FROM ... AS ...` clause inside the trigger body. I'm using v1.14.28 of this module....

Used to gather statistics information about table disk usage.