Skip to content
Cloudflare Docs
Search
Products
Learning
Status
Support
Log in
GitHub
X
YouTube
Select theme
Dark
Light
Auto
D1
Overview
Get started
Build with D1
Import and export data
Query D1
Use indexes
Remote development
Define foreign keys
Query JSON
Local development
Use D1 from Pages ↗
Workers Binding API
Overview
D1 Database
Prepared statement methods
Return objects
D1 REST API ↗
API
SQL API
SQL statements
Configuration
Data location
Environments
Smart Placement ↗
Observability
Debug D1
Metrics and analytics
Billing
Audit Logs
Examples
Query D1 from Remix
Query D1 from Hono
Query D1 from SvelteKit
Query D1 from Python Workers
Tutorials
Demos and architectures
Platform
Pricing
Alpha database migration guide
Limits
Choose a data or storage product ↗
Changelog
Reference
Migrations
Time Travel and backups
Community projects
Generated columns
Wrangler commands ↗
Data security
Backups (Legacy)
Products
Learning
Status
Support
Log in
GitHub
X
YouTube
Select theme
Dark
Light
Auto
Products
…
D1
D1 REST API
D1 REST API
Was this helpful?
Yes
No
What did you like?
Accurate
Easy to understand
Solved my problem
Helped me decide to use the product
Other
What went wrong?
Hard to understand
Incorrect information
Missing the information
Other
Thank you for helping improve Cloudflare's documentation!
Cloudflare Dashboard
Discord
Community
Learning Center
Support Portal
Cookie Settings