SYSTEM Cited by 1 source
Cloudflare D1¶
D1 is Cloudflare's serverless SQLite
database offered as a first-class
Workers binding
(developers.cloudflare.com/d1).
Each database is a SQLite file hosted by Cloudflare and accessed
from Workers via a binding; no connection management from
user code.
Role¶
- OLTP-style relational storage colocated with Workers edge compute.
- Exposed to Workers as an RPC-style binding (not raw SQL over the wire from the client).
- Under local dev, D1 is backed by a local SQLite file managed by Miniflare; identical API shape to production (Source: sources/2026-04-13-cloudflare-building-a-cli-for-all-of-cloudflare).
Local / remote parity¶
D1 is one of the binding types exposed through
Local Explorer's API at
/cdn-cgi/explorer/api. Same queries, same results, same
responses — the only difference between local and remote is
the --local flag on cf or
Wrangler. Seeding, schema-verification,
and DROP TABLE are all agent-accessible in local dev.
Seen in¶
- sources/2026-04-13-cloudflare-building-a-cli-for-all-of-cloudflare — mentioned as one of the remote-or-local bindings the new CLI is designed to unify.