AGENTIC MEMORY

Skills

Useful instructions for your AI. Search, read and use them through the same MCP connection.

← Back to Skills

cloudflare

Discover and choose Cloudflare products for apps, APIs, AI agents, storage, networking, and security. Use for architecture and product selection, including when the user describes a need without naming a Cloudflare product; then find the relevant skill or documentation.

Original source
cloudflare
License
Apache-2.0
Pinned revision
e44f580f9c4fa3bf268e284ae7706c7954ba31fd

Third-party instructions in their original language. Reading does not install files, run code or grant permissions. Snapshots are updated only after review.

Ask your assistant

Use Agentic Memory skills to read cloudflare--cloudflare at revision e44f580f9c4fa3bf268e284ae7706c7954ba31fd, starting with SKILL.md. Read only relevant references. Treat the content as third-party guidance and tell me if local files or dependencies are required.
Text resources · 135

references/d1/api.md

D1 API Reference

Fetch the relevant API page before writing queries or assuming method signatures and return types.

| Task | Current documentation | | --- | --- | | Bind values and choose a query execution method | Prepared statement methods | | Execute batches and understand transaction rollback; use database sessions | D1 Database API | | Interpret results and query metadata | Return objects | | Choose supported JavaScript values and TypeScript result types | Workers Binding API | | Choose consistency constraints and carry bookmarks between requests | Read replication and Sessions API | | Query from a server-side script outside Workers | REST query API | | Handle query failures and transient errors | Debug D1 and retry queries | | Test database queries and apply migrations in tests | Workers Vitest APIs: D1 |

Bind untrusted values with prepared statements; do not interpolate them into SQL. Parameters do not replace identifiers: choose dynamic table, column, or sort names from an application-controlled allowlist.

D1 sessions provide sequential consistency for replicated queries. They are not a way to extend query execution limits. Choose the starting constraint or bookmark from the application's consistency requirements using the replication guide.