bcw2

package
v0.20.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2024 License: MIT Imports: 2 Imported by: 0

README

Embeddable Wasm build of SQLite

This folder includes an embeddable Wasm build of SQLite 3.47.0, including the experimental BEGIN CONCURRENT and Wal2 patches.

[!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 both 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.

Documentation

Overview

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"

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL