跳转到主要内容

章节Cloudflare 开发者文档(免费档)

D1

55 页更新于 3 小时前

开始阅读

本章内容55

  1. 01 Demos and architectures import { GlossaryTooltip, ResourcesBySelector } from "~/components"; Learn how you can use D1 within your e... 3 小时前
  2. 02 Getting started import { Render, PackageManagers, Steps, FileTree, Tabs, TabItem, TypeScriptExample, WranglerConfig, DashBu... 3 小时前
  3. 03 Cloudflare D1 import { CardGrid, Description, Feature, LinkTitleCard, Plan, RelatedProduct, } from "~/components"; Create... 3 小时前
  4. 04 Wrangler commands import { WranglerNamespace } from "~/components"; D1 Wrangler commands use REST APIs to interact with the c... 3 小时前
  5. 05 Import and export data D1 allows you to import existing SQLite tables and their data directly, enabling you to migrate existing da... 3 小时前
  6. 06 Best practices import { DirectoryListing } from "~/components"; 3 小时前
  7. 07 Local development import { WranglerConfig, Render } from "~/components"; D1 has fully-featured support for local development,... 3 小时前
  8. 08 Query a database D1 is compatible with most SQLite's SQL convention since it leverages SQLite's query engine. You can use SQ... 3 小时前
  9. 09 Global read replication import { GlossaryTooltip, Details, APIRequest, Tabs, TabItem, TypeScriptExample, DashButton } from "~/compo... 3 小时前
  10. 10 Remote development import { DashButton } from "~/components"; D1 supports remote development using the dashboard playground. T... 3 小时前
  11. 11 Retry queries It is useful to retry write queries from your application when you encounter a transient error. From the li... 3 小时前
  12. 12 Use indexes import { GlossaryTooltip } from "~/components"; Indexes enable D1 to improve query performance over the ind... 3 小时前
  13. 13 Data location import { DashButton } from "~/components"; Learn how the location of data stored in D1 is determined, inclu... 3 小时前
  14. 14 Environments import { WranglerConfig } from "~/components"; Environments are different contexts that your code runs in. ... 3 小时前
  15. 15 Configuration import { DirectoryListing } from "~/components"; 3 小时前
  16. 16 Query D1 from Hono import { TabItem, Tabs } from "~/components"; Hono is a fast web framework for building API-first applicati... 3 小时前
  17. 17 Query D1 from Remix import { TabItem, Tabs } from "~/components"; :::note Remix is no longer recommended for new projects. For ... 3 小时前
  18. 18 Query D1 from SvelteKit import { TabItem, Tabs } from "~/components"; SvelteKit is a full-stack framework that combines the Svelte ... 3 小时前
  19. 19 Examples import { GlossaryTooltip, ResourcesBySelector } from "~/components"; Explore the following examples for D1.... 3 小时前
  20. 20 Query D1 from Python Workers import { WranglerConfig } from "~/components"; The Cloudflare Workers platform supports multiple languages,... 3 小时前
  21. 21 Audit Logs import { DashButton } from "~/components"; Audit logs provide a comprehensive summary of changes made withi... 3 小时前
  22. 22 Billing import { DashButton } from "~/components"; D1 exposes analytics to track billing metrics (rows read, rows w... 3 小时前
  23. 23 Debug D1 import { Example } from "~/components"; D1 allows you to capture exceptions and log errors returned when qu... 3 小时前
  24. 24 Find slow and expensive queries import { Steps, Tabs, TabItem } from "~/components"; A small number of databases and queries usually cause ... 3 小时前
  25. 25 Observability import { DirectoryListing } from "~/components"; 3 小时前
  26. 26 Metrics and analytics import { Details, DashButton } from "~/components"; D1 exposes database analytics that allow you to inspect... 3 小时前
  27. 27 Alpha database migration guide :::caution D1 alpha databases stopped accepting live SQL queries on August 22, 2024. ::: D1's open beta lau... 3 小时前
  28. 28 Platform import { DirectoryListing } from "~/components"; 3 小时前
  29. 29 Limits import { Render } from "~/components"; Feature Limit Databases per account Workers Paid: 1,000,000. The fir... 3 小时前
  30. 30 Pricing import { Render } from "~/components"; D1 bills based on: Usage: Queries you run against D1 will count as r... 3 小时前
  31. 31 Release notes import { ProductReleaseNotes } from "~/components"; {/* */} 3 小时前
  32. 32 Backups (Legacy) D1 has built-in support for creating and restoring backups of your databases with wrangler v3, including su... 3 小时前
  33. 33 Community projects Members of the Cloudflare developer community and broader developer ecosystem have built and/or contributed... 3 小时前
  34. 34 Data security This page details the data security properties of D1, including: Encryption-at-rest (EAR). Encryption-in-tr... 3 小时前
  35. 35 FAQs import { Render } from "~/components"; Pricing Limits 3 小时前
  36. 36 Generated columns D1 allows you to define generated columns based on the values of one or more other columns, SQL functions, ... 3 小时前
  37. 37 Glossary import { Glossary } from "~/components" Review the definitions for terms used across Cloudflare's D1 docume... 3 小时前
  38. 38 Reference import { DirectoryListing } from "~/components"; 3 小时前
  39. 39 Migrations import { WranglerConfig } from "~/components"; Database migrations are a way of versioning your database. E... 3 小时前
  40. 40 Time Travel and backups import { GlossaryTooltip } from "~/components"; Time Travel is D1's approach to backups and point-in-time-r... 3 小时前
  41. 41 Define foreign keys D1 supports defining and enforcing foreign key constraints across tables in a database. Foreign key constra... 3 小时前
  42. 42 SQL API import { DirectoryListing } from "~/components"; 3 小时前
  43. 43 Query JSON D1 has built-in support for querying and parsing JSON data stored within a database. This enables you to: Q... 3 小时前
  44. 44 SQL statements import { Details, Render } from "~/components"; D1 is compatible with most SQLite's SQL convention since it... 3 小时前
  45. 45 Build a Comments API import { Render, PackageManagers, Steps, TypeScriptExample, WranglerConfig, } from "~/components"; In this ... 3 小时前
  46. 46 Build a Staff Directory Application import { WranglerConfig } from "~/components"; In this tutorial, you will learn how to use D1 to build a st... 3 小时前
  47. 47 Build an API to access D1 using a proxy Worker import { Render, PackageManagers, Steps, Details, WranglerConfig } from "~/components"; In this tutorial, y... 3 小时前
  48. 48 Query D1 using Prisma ORM import { WranglerConfig, FileTree, PackageManagers, TypeScriptExample, Tabs, TabItem, } from "~/components"... 3 小时前
  49. 49 Bulk import to D1 using REST API import { Render, Steps, PackageManagers, DashButton } from "~/components"; In this tutorial, you will learn... 3 小时前
  50. 50 Tutorials import { GlossaryTooltip, ListTutorials } from "~/components"; View tutorials to help you get started with D1. 3 小时前
  51. 51 Using D1 Read Replication for your e-commerce website import { Render, Steps, PackageManagers, WranglerConfig, Details, } from "~/components"; D1 Read Replicatio... 3 小时前
  52. 52 D1 Database import { Type, MetaInfo, Details, Tabs, TabItem } from "~/components"; To interact with your D1 database fr... 3 小时前
  53. 53 Workers Binding API import { DirectoryListing, Details, Steps } from "~/components"; You can execute SQL queries on your D1 dat... 3 小时前
  54. 54 Prepared statement methods import { Type, MetaInfo, Details, Tabs, TabItem } from "~/components"; This chapter documents the various w... 3 小时前
  55. 55 Return objects import { Tabs, TabItem } from "~/components"; Some D1 Worker Binding APIs return a typed object. D1 Worker ... 3 小时前