Documentation
¶
Overview ¶
Package sqlitedriver registers a SQLite database/sql driver under the name "sqlite3". When built with CGO (the default on macOS/Linux) it uses go-sqlcipher which provides SQLCipher encryption. When CGO is unavailable (typical on Windows without GCC) it falls back to the pure-Go modernc.org/sqlite driver — functional but without encryption support.
Import this package for its side effects only:
import _ "github.com/teradata-labs/loom/internal/sqlitedriver"
Index ¶
Constants ¶
View Source
const EncryptionSupported = true
EncryptionSupported indicates whether the active SQLite driver supports SQLCipher encryption (PRAGMA key). True when built with CGO.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.