sqlite icon indicating copy to clipboard operation
sqlite copied to clipboard

The pure-Go SQLite driver for GORM

Results 23 sqlite issues
Sort by recently updated
recently updated
newest added

It would be nice to have an encrypted database like this lib, which not a lot of people do: https://github.com/jackfr0st13/gorm-sqlite-cipher Thanks,

Hi, how is the performance compared to some KVDB like Badger or Pebble?

>env go version go1.20 linux/amd64 CGO_ENABLED=0 GOOS=windows GOARCH=386 go build -o ../../build/sqlitemanager/amd64/BL-SqliteManager.exe modernc.org/sqlite/lib /home/guanxy/go/pkg/mod/modernc.org/[email protected]/lib/defs.go:13:35: undefined: sqlite3_index_constraint /home/guanxy/go/pkg/mod/modernc.org/[email protected]/lib/defs.go:14:35: undefined: sqlite3_index_orderby /home/guanxy/go/pkg/mod/modernc.org/[email protected]/lib/defs.go:15:35: undefined: sqlite3_index_constraint_usage /home/guanxy/go/pkg/mod/modernc.org/[email protected]/lib/mutex.go:19:5: undefined: Xsqlite3_threadsafe /home/guanxy/go/pkg/mod/modernc.org/[email protected]/lib/mutex.go:29:11: undefined: Xsqlite3_config /home/guanxy/go/pkg/mod/modernc.org/[email protected]/lib/mutex.go:29:32: undefined:...

# Here is the full log ```txt package command-line-arguments imports github.com/pplmx/blog-go/cmd imports github.com/pplmx/blog-go/internal/db imports github.com/glebarez/sqlite imports github.com/glebarez/go-sqlite imports modernc.org/libc: C source files not allowed when not using cgo or SWIG:...

I have been using this with success. https://github.com/ncruces/go-sqlite3/blob/main/gormlite/go.mod this is SQLITE with no CGO and has GORM. Its benchmarked here: https://github.com/cvilsmeier/go-sqlite-bench

Bumps [dawidd6/action-download-artifact](https://github.com/dawidd6/action-download-artifact) from 3 to 6. Release notes Sourced from dawidd6/action-download-artifact's releases. v6 Full Changelog: https://github.com/dawidd6/action-download-artifact/compare/v5...v6 v5 Full Changelog: https://github.com/dawidd6/action-download-artifact/compare/v4...v5 v4 What's Changed VERSIONING CHANGE: now there will only be...

dependencies
github_actions

`package sqlite_db import ( "database/sql" "fmt" "github.com/glebarez/sqlite" _ "github.com/mattn/go-sqlite3" "gorm.io/gorm" "log" ) func Sqlite() { dial := sqlite.Open("sqlite3:example.db") db, err := gorm.Open(dial) if err != nil { fmt.Println("open dial err,...

Related to https://github.com/go-gorm/gorm/issues/7034 Please read for more info there! Thanks,

sys:Linux buildroot 4.4.207+ #86 Wed Jun 30 08:47:30 CST 2021 armv5tejl GNU/Linux sqlite3:SQLite version 3.21.0 2017-10-24 18:55:49 panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation...

### description env: ```text github.com/glebarez/sqlite v1.11.0 // github.com/mattn/go-sqlite3 v1.14.27 github.com/pressly/goose/v3 v3.24.2 gorm.io/driver/sqlite v1.4.3 gorm.io/gen v0.3.26 gorm.io/gorm v1.25.9 ``` While generating query code using gen, I encountered a nil pointer error...