Docs
Docs
fdb-go provides three APIs over FoundationDB: a pure-Go key-value client, a
Record Layer for protobuf records and indexes, and an embedded database/sql
engine. The client works without either higher layer.
Build from source and run the examples locally.
Protobuf records, indexes, SQL, cluster connections, and command reference.
Preregistered single-node and 4-node VPC benchmark campaigns.
Readiness, version targets, test coverage, and Java interoperability.
Transactions, index builds, backups, and observability.
Complete programs for the Record Layer and SQL APIs.
APIs
| Use case | Package |
|---|---|
| FoundationDB key-value transactions from Go, without cgo | pkg/fdbgo/fdb |
| Protobuf records, secondary indexes, and cursor-based scans | pkg/recordlayer |
SQL queries through Go’s database/sql | pkg/relational/sqldriver |
FoundationDB is a separate server. The Record Layer and SQL engine run in your application; this project is not a PostgreSQL wire-protocol server.
Pre-1.0; not declared production-ready. These docs describe the development
tree (master), which can be ahead of the
latest release. Read status and compatibility
before using an existing store or mixing Go and Java writers.