go-sqlite3
go-sqlite3 copied to clipboard
sqlite3 driver for go using database/sql
This is a slightly odd question. I was curious what effect removing the DQS support would have on my release binary, so I tested it. To my surprise, adding `CGO_CFLAGS="-DSQLITE_DQS=0"`...
I am compiling [go-sqlite3](https://github.com/mattn/go-sqlite3) into my application on Windows 10 64bit - since Go 1.22. When I upgraded Go to 1.25, compilations still works, however the application cannot be started...
This MR will update the SQLite amalgamation to 3.51.1 and allow optional compilation of the percentile extension through defining the `sqlite_percentile` tag.
Go version go version go1.25.1 windows/amd64 PS E:\Go\src\adps> go env set AR=ar set CC=gcc set CGO_CFLAGS=-O2 -g set CGO_CPPFLAGS= set CGO_CXXFLAGS=-O2 -g set CGO_ENABLED=1 set CGO_FFLAGS=-O2 -g set CGO_LDFLAGS=-O2 -g...
This is necessary, for instance, to allow users of the package to make their own CGo callbacks, and have the underlying sqlite3 library call those C functions directly. Note that...
I need to apologize upfront: This is going to be kind of a noob question, because I'm not yet understanding all bits and pieces. I'll really appreciate it, if someone...
I've been running into a strange linker error over the past few days. It seems to involve some interaction between go-sqlite3 and the standard net/http package, though I can't pinpoint...
Supports PRAGMA key while open db. That's a must for supporting any sqlite encryption
I have the use case of adding a custom wal hook. This PR adds support for registering a [WAL hook](https://www.sqlite.org/c3ref/wal_hook.html) on a connection via a new method: ```go func (c...