Documentation
Guides in 26 languages. English is the original.
All guides
-
Getting started
Build the library, create a database and read it back.
-
Migrating from SQLite
Convert your data, relink your program, check the differences.
-
Using Base from Rust
Connections, SQL and transactions from Rust.
-
Using Base from C
Handles, statements and return codes.
-
Using Base from C++
RAII handles, exceptions and transactions.
-
File format overview
Pages, trees, copy on write, recovery and the compatibility promise.
-
Compatibility with SQLite
The two SQL modes, what is built and how it is checked.
-
FAQ
Short answers to common questions.
-
Language bindings
Which languages are supported and how they work.
-
Using Base from Python
DB-API 2.0 module: connections, cursors and errors with numbers.
-
Using Base from Go
database/sql driver with contexts and transactions.
-
Using Base from PHP
PDO driver or FFI package with the same interface.
-
C API reference
Every function, return code and type of psob.h.
-
Releases, packages and signing
Release checks, packages, SBOM, reproducible builds and signing.
-
Using Base from JavaScript and TypeScript
Node-API module with synchronous and Promise interface, cancellation and TypeScript types.
-
Using Base from C# and .NET
ADO.NET provider that works with trimming and Native AOT.
-
Using Base from Java and Kotlin
JDBC driver and core API for Java 22 and newer, Kotlin included.
-
Using Base from Ruby
A gem over Fiddle with bound parameters and transaction blocks.
-
Using Base from Dart and Flutter
dart:ffi package with a synchronous API and an isolate API.
-
Readers alongside a writer
Snapshots, one writer, several processes and the lock file.
Reference
The complete specifications are in the source repository: the file format, the interface sketch, the compatibility matrix, the manual with tested examples and the generated Rust reference (cargo doc, English).