Skip to content

Build tags

Mattn used build tags to enable SQLite compile-time features. Here those features are already enabled by default (modernc compiles SQLite with them), so the build tags become no-ops:

mattn build tag gosqlite status
sqlite_fts5 always on
sqlite_json (JSON1) always on
sqlite_math_functions always on
sqlite_rtree, sqlite_geopoly always on
sqlite_dbstat always on
sqlite_preupdate_hook always on, via (*Conn).RegisterPreUpdateHook
sqlite_userauth dropped (removed upstream)
sqlite_unlock_notify inherited from modernc
sqlite_vtable always on, see modernc.org/sqlite/vtab

You don’t pass any of these tags; just remove them from your build. The SESSION extension is also compiled in (see Sessions).