package sqliteshim

Import Path
	github.com/uptrace/bun/driver/sqliteshim (on go.dev)

Dependency Relation
	imports 3 packages, and imported by one package

Involved Source Files modernc.go Package sqliteshim is a shim package that imports an appropriate sqlite driver for the build target and registers it under ShimName. Currently it uses packages in the following order: • modernc.org/sqlite on supported platforms, • github.com/mattn/go-sqlite3 if Cgo is enabled, Otherwise registers a driver that returns an error on unsupported platforms.
Package-Level Type Names (only one, which is exported)
/* sort exporteds by: | */
UnsupportedError is returned from driver on unsupported platforms. (*T) Error() string *T : error
Package-Level Functions (total 4, in which 3 are exported)
Driver returns the shim driver registered under ShimName name.
DriverName is the name of the database/sql driver. Note that unlike ShimName the value depends on the build target. That is, DriverName returns the name of the underlying database driver.
HasDriver indicates that SQLite driver implementation is available.
Package-Level Variables (only one, which is unexported)
Package-Level Constants (total 3, in which 1 are exported)
ShimName is the name of the shim database/sql driver registration.