go-sqlite3
go-sqlite3 copied to clipboard
sqlite3 driver for go using database/sql
This small PR is supposed to fix https://github.com/mattn/go-sqlite3/issues/950.
The issue has appeared when I updated to Mac OS 15.0 Beta (24A5309e) I use GoLand 2024.2, Go 1.22.6, go-sqlite3 v1.14.22 Just add a simple import to an empty project:...
_This is a little difficult to explain so I apologize if it seems confusing._ The problem is that when there 2+ live connections and 1 of the connection changes the...
This PR just adds a new `RegisterBusyHandler` method to the `SQLiteConn` type to allow use of the `sqlite3_busy_handler()` function. I tried to follow the same style as the other `Register*`...
Hey everyone! I must first state that I have never used this package before, but I had some experience with SQLite in other languages. I am working on my MacOS...
Context: The "x" column is a scoring column. The higher the score, the rank is closer to 0. After building a new version of my application (but not updating the...
SIGSEGV: segmentation violation PC=0x7660475c m=7 sigcode=1 addr=0x9395d23b signal arrived during cgo execution goroutine 116 gp=0x24cec68 m=7 mp=0x2104508 [syscall]: runtime.cgocall(0xd0b580, 0x252c728) /go/go1.23.1/src/runtime/cgocall.go:167 +0x50 fp=0x252c710 sp=0x252c6f8 pc=0xd71b8 github.com/mattn/go-sqlite3._Cfunc__sqlite3_open_v2(0x75924580, 0x314e428, 0x10006, 0x0) _cgo_gotypes.go:318...
It seems that with the current state of the `go-sqlite3` driver, there's no built-in way to retrieve the data type of each result row dynamically. This becomes an issue when...
It took me a while to compile my go application using sqlite3 for raspberry 4 (rasbian bullseye), because I struggled to figure out how to compile using the correct (older)...
After this PR was merged https://github.com/mattn/go-sqlite3/pull/909/files go-sqlite started return correct types for sqlite types. However the change of type for BLOB ends up to the fact, that in GORM deserialization...