Examples (5)

Last updated Apr 21, 2026 Explore the following examples for D1.

Query D1 from Python Workers Learn how to query D1 from a Python Worker

Query D1 from Hono Query D1 from the Hono web framework

Query D1 from Remix Query your D1 database from a Remix application.

Query D1 from SvelteKit Query a D1 database from a SvelteKit application.

Was this helpful?

YesNo

On this page

Examples (5) - 图1Docs

{"@context":"https://schema.org","@type":"WebPage","@id":"https://developers.cloudflare.com/d1/examples/#page","headline":"Examples","description":"Browse code examples that demonstrate common D1 database operations and patterns.","url":"https://developers.cloudflare.com/d1/examples/","inLanguage":"en","image":"https://developers.cloudflare.com/d1/examples/og.png?v=64d7299f16c92b0c","dateModified":"2026-04-21","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}


description: Query D1 from the Hono web framework title: Query D1 from Hono image: https://developers.cloudflare.com/d1/examples/d1-and-hono/og.png?v=cbb98b44a66dce77


Skip to content

Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/d1/llms.txt
Use this file to discover all available pages before exploring further.