go-sqlite3
go-sqlite3 copied to clipboard
sqlite3 driver for go using database/sql
D:\GoProject\src\golib> gomobile bind -target=android golib gomobile: go build -buildmode=c-shared -o=C:\Users\zzx\AppData\Local\Temp\gomobile-work-264215403\android\src\main\jniLibs\armeabi-v7a\libgojni.so gobind failed: exit status 2 # github.com/mattn/go-sqlite3 sqlite3-binding.c:33948:42: error: use of undeclared identifier 'mmap' sqlite3-binding.c:34037:22: error: invalid application of 'sizeof'...
* sqlite3_open_v2 implicitly calls sqlite3_initialize * sqlite3_initialize is not thread safe in the prologue * concurrent calls of sqlite3.Open even on different files may trigger mutex initialization race and crash...
Hi, while I'm developing an appliation using [gorm](https://github.com/jinzhu/gorm) I noticed new messages shown in my terminal and said there is an issues in this package: ```shell # github.com/mattn/go-sqlite3 sqlite3-binding.c: In...
The Core version of the latest go-sqlite3 is SQLite 3.28.0, which has some security issue, our project have to change to 3.31.1, but I don't down how to modify this...
When I use transaction, "no such table" error will occur. The following is my test code: ``` package main import ( "fmt" "github.com/jinzhu/gorm" _ "github.com/jinzhu/gorm/dialects/sqlite" ) type TestEntity struct {...
I am creating a GO module which will be exported as library for Android/iOS apps (example: .aar for Android). I want to added database operation to this go module and...
I learned about the session extension from https://github.com/crawshaw/sqlite. The [SQLite documentation](https://www.sqlite.org/sessionintro.html) says: > The session extension provide a mechanism for recording changes to some or all of the rowid tables...
For expvar I need the status of sqlite. sqlite delivers stats per [sqlite3_db_status](https://www.sqlite.org/c3ref/db_status.html) I would try to implement it myself, but I have no experience in C and calling C...
The documentation for `ConnBeginTx.BeginTx` says the following: ```go // This must check opts.Isolation to determine if there is a set // isolation level. If the driver does not support a...
I try to install this package using the clang compiler: ``` PS > $env:CC = "C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\Llvm\bin\clang.exe" PS > $env:CXX = $env:CC PS > go get -v github.com/mattn/go-sqlite3 github.com/mattn/go-sqlite3 # github.com/mattn/go-sqlite3...