Skip to content
Cloudflare Docs logomark
Cloudflare
Docs
D1
Navigation menu icon
Open external link
Cloudflare Docs logomark
Cloudflare
Docs
D1
Dropdown icon
D1 menu
Workers home
Discord
Overview
Get started
Expand: Build with D1
Build with D1
Import and export data
Query D1
Use indexes
Remote development
Define foreign keys
Query JSON
Local development
Use D1 from Pages
External link icon
Open external link
Expand: Configuration
Configuration
Data location
Environments
Smart Placement
External link icon
Open external link
Expand: Observability
Observability
Debug D1
Metrics and analytics
Expand: Examples
Examples
Query D1 from Remix
Query D1 from Hono
Query D1 from SvelteKit
Query D1 from Python Workers
Tutorials
Expand: Platform
Platform
Pricing
Alpha database migration guide
Limits
Choose a data or storage product
External link icon
Open external link
Changelog
Expand: Reference
Reference
Migrations
Time Travel and backups
Community projects
Generated columns
Database commands
Wrangler commands
External link icon
Open external link
Data security
Backups (Legacy)
D1 REST API
API link label
Open API docs link
Edit
Edit this page
Issue
Report an issue with this page
Log in
Log into the Cloudflare dashboard
Search icon (depiction of a magnifying glass)
Light theme icon (depiction of a sun)
Dark theme icon (depiction of a moon)
Set theme to dark (⇧+D)
↑ Top
Products
D1
Observability
Observability
Debug D1
Metrics and analytics