Querying with D1 SQL at the Edge
Use Cloudflare D1, a serverless SQLite database, to run relational queries from your Workers at the edge.
What is D1?
Cloudflare D1 is a serverless SQL database built on SQLite. It brings relational queries to the edge, complementing key-value (KV) and Durable Objects.
KV vs D1
When to use which:
- KV: simple key-value, eventual consistency
- D1: structured data, joins, transactions, SQL
All lessons in this course
- Cloudflare KV Store
- Durable Objects Explained
- Integrating Deno with Edge Storage
- Querying with D1 SQL at the Edge