go-sqlite3
go-sqlite3 copied to clipboard
sqlite3 driver for go using database/sql
my codes ``` package main import ( "database/sql" "log" "os" _ "github.com/mattn/go-sqlite3" ) func main() { os.Setenv("TMPDIR", "/mnt/test") db, err := sql.Open("sqlite3", "db.bak") if err != nil { log.Fatal(err) }...
Such as `datetime(6)` -- previously they would hit the default case and remain as strings
The current implementation of static_mock.go is not sufficient because it does not expose all the constants/variables and functions exposed by the cgo enabled sqlite3 package as dummies. However, adding dummy...
Hi, thanks for your development on this project! I have a use case for registering a custom window function with the SQLite driver. Is there planned development for a `conn.RegisterWindowFunction`...
With a column of type "timestamp with time zone", like in the following table, sqlite3 doesn't convert it into a time.Time and scanning such a row into a time.Time field...
This function sets a callback that SQLite invokes when it detects an anomaly. See https://sqlite.org/errlog.html.
When we execute a statement, we step once and return. If the query returned more than one row, we would not have consumed everything so the underlying table would still...
In WAL mode, one transaction continues to write to the SQLite database, and another transaction will report the error "database is locked" when creating, updating, and inserting data. Is this...
Can we remove the dependency of gcc and CGO_enabled from sqlite3.Or else how can we make it independent of these?
### What version of Go are you using (`go version`)? $ go version go version go1.21.3 linux/386 ### What operating system and processor architecture are you using (`go env`)? go...