Discover Packages
github.com/ncruces/go-sqlite3/embed/bcw2
package
module
Version:
v0.24.0
Opens a new window with list of versions in this module.
Published: Feb 28, 2025
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
Embeddable Wasm build of SQLite
This folder includes an alternative embeddable Wasm build of SQLite,
which includes the experimental
BEGIN CONCURRENT
and
Wal2 patches.
It also enables the optional
UPDATE … ORDER BY … LIMIT
and
DELETE … ORDER BY … LIMIT
clauses,
and the WITHIN GROUP ORDER BY
aggregate syntax.
[!IMPORTANT]
This package is experimental.
It is built from the bedrock
branch of SQLite,
since that is currently the most stable, maintained branch to include these features.
[!CAUTION]
The Wal2 journaling mode creates databases that other versions of SQLite cannot access.
The build is easily reproducible, and verifiable, using
Artifact Attestations .
Expand ▾
Collapse ▴
Documentation
¶
Package bcw2 embeds SQLite into your application.
Importing package bcw2 initializes the sqlite3.Binary variable
with a build of SQLite that includes the BEGIN CONCURRENT and Wal2 patches:
import _ "github.com/ncruces/go-sqlite3/embed/bcw2"
Source Files
¶
Click to show internal directories.
Click to hide internal directories.