Registry / database / driver-sqlite

driver-sqlite

JSON →
library1.6.0gogounverified

Package sqlite provides a SQLite driver for the GORM ORM.

go get gorm.io/driver/sqlite
INSTALL
IMPORT
SIG · DRIVER-SQLITE
D
driver-sqlite
databasegov1.6.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

sqlite
gorm.io/driver/sqlite

Open a SQLite database with GORM

package main import ( "gorm.io/driver/sqlite" "gorm.io/gorm" ) func main() { db, err := gorm.Open(sqlite.Open("test.db"), &gorm.Config{}) if err != nil { panic(err) } _ = db }
Debug
Known issues
gotchaRequires CGO and a C compiler for SQLite support
fix
Ensure CGO_ENABLED=1 and a C compiler (e.g., gcc) is installed
affects: all
Upgrade
Version history
1.6.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
28 hits · last 30 days
node
24
Resources
driver-sqlite — go get driver-sqlite · libregistry