go-sqlite3
go-sqlite3 copied to clipboard
sqlite3 driver for go using database/sql
I've got a callback function which, in one of my key queries, is called thousands of times. Initially I did the "easy" thing of making a Golang-based callback, using `conn.RegisterFunc()`....
https://www.sqlite.org/c3ref/interrupt.html > If the interrupted SQL operation is an INSERT, UPDATE, or DELETE that is inside an explicit transaction, then the entire transaction will be rolled back automatically. Imagine the...
no Go files in E:\StudyGO\GOWrokSpace\src\github.com\mattn\go-sqlite3
Assuming we run this piece of code: ``` ctx, cancel := context.WithCancel(ctx) tx, err := db.BeginTx(ctx, nil) ``` it is possible to get at the same time context.Cancelled error and...
I have not found the next pragmas: `loc`, `mutex` and `txlock` in the [list of pragmas](https://www.sqlite.org/pragma.html). So, if they are only used by "go-sqlite3", please indicate it.
* [ ] Join sqlite3.go and sqlite3_go18.go * [ ] Join sqlite3_test.go and sqlite3_go18_test.go * [ ] Remove 1.9.x and 1.10.x from .travis.yml
I am looking for an implementation of the following encryption layers ``` c #ifdef SQLITE_HAS_CODEC /* ** Specify the key for an encrypted database. This routine should be ** called...
I would really appreciate it if you could add the [spellfix1](https://www.sqlite.org/spellfix1.html) extension. Thank you
Requirements: SQLite - 3.26.0 go-sqlite3 - v1.10.0 Steps to reproduce: 1) Create a table. Eg: "new_table" 2) Rename table: Eg: ``` queryRenameTable := "ALTER TABLE new_table RENAME TO old_table;" _,...
Probably similiar with https://github.com/mattn/go-sqlite3/issues/681. It also show `another row available`. It can show up with below simple codes. You can also check source codes at https://github.com/leslie-wang/samples/blob/master/go-sqlite3/main.go. ``` func dbMain(args []string)...