// Package sqlitedb registers the SQLite driver the parser writes with and names // it in one place. // // modernc.org/sqlite is a pure-Go SQLite, chosen so the whole module stays // cgo-free — grate, excelize and yaml.v3 are pure Go too, so CI can compile with // CGO_ENABLED=0 and no C toolchain. // // It is a machine-transpiled SQLite, not the upstream C amalgamation, which is // acceptable only because the parser sticks to plain SQL: no CTEs, window // functions, triggers or extensions. Adding any of those means re-verifying the // driver. // // Verified on linux/arm64 with v1.56.0 (SQLite 3.53.3): the full DDL including // the partial idx_ten_cum_thi index, INSERT OR REPLACE, and VACUUM. // // Fallback if the driver is ever implicated: mattn/go-sqlite3 is upstream C at // the cost of cgo. package sqlitedb // Registers "sqlite" with database/sql. import _ "modernc.org/sqlite" // DriverName is the database/sql driver name to pass to sql.Open. const DriverName = "sqlite"