{"repo":"libtnb/sqlite","free":true,"listed":false,"github":"https://github.com/libtnb/sqlite","clone":"git clone https://github.com/libtnb/sqlite.git","description":"Pure-Go (no CGO) SQLite driver for GORM","language":"Go","stars":23,"topics":["go","golang","gorm","sqlite","sqlite3","database"],"license":"MIT","category":"databases-storage","readme_excerpt":"SQLite driver for GORM Pure-Go (no CGO) SQLite driver for GORM, powered by modernc.org/sqlite. Drop-in replacement for go-gorm/sqlite (the official CGO-based driver). Features - Pure Go (no C compiler or external libraries required); cross-compiles to any Go-supported platform - Compatible with the GORM test suite (tested on Linux, macOS, and Windows) - JSON1, Math functions, FTS5, R-Tree, and Geopoly enabled by default Install Usage In-memory database DSN Parameters Parameters are appended to the DSN as a query string: Driver parameters Parameter Example Description ----------- --------- ------------- pragma pragma=journal mode(WAL) Execute a PRAGMA statement on each new connection; can be specified multiple times. txlock txlock=immediate Transaction locking mode: deferred (default), immediate , or exclusive . time format time format=sqlite How time.Time is serialized to TEXT: sqlite (default, YYYY-MM-DD HH:MM:SS.SSS[+-]HH:MM ) or datetime ( YYYY-MM-DD HH:MM:SS ). time integer format time integer format=unix Store time.Time as INTEGER instead of TEXT: unix , unix milli , unix micro , or unix nano . Overrides time format . timezone timezone=UTC Timezone applied when reading and writing time values (parsed by time.LoadLocation ). SQLite URI parameters These are interpreted by SQLite itself, not the driver. Available when the DSN starts with file: (the driver opens connections with SQLITE OPEN URI ). Parameter Example Description ----------- --------- ------------- mode mode=ro","default_branch":null,"files":null,"tree":[],"storefront":"/r/libtnb","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/libtnb/sqlite/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}