惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

雷峰网
雷峰网
GbyAI
GbyAI
Stack Overflow Blog
Stack Overflow Blog
Apple Machine Learning Research
Apple Machine Learning Research
The Cloudflare Blog
WordPress大学
WordPress大学
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
F
Fortinet All Blogs
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Microsoft Azure Blog
Microsoft Azure Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 聂微东
L
LangChain Blog
云风的 BLOG
云风的 BLOG
Jina AI
Jina AI
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
I
InfoQ
大猫的无限游戏
大猫的无限游戏
MyScale Blog
MyScale Blog
人人都是产品经理
人人都是产品经理
小众软件
小众软件
量子位
The GitHub Blog
The GitHub Blog
博客园 - 【当耐特】

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Dory Now Supports Cloudflare D1
Finn · 2026-06-16 · via DEV Community

We just added Cloudflare D1 support to Dory.

Dory can now connect directly to a Cloudflare D1 database as a first-class data source. You can browse your D1 schema, inspect tables, preview data, and run SQL from the same workspace you use for other databases.

What Is Supported

The first version focuses on the core database exploration workflow:

  • Test connection
  • Run SQL in the SQL Console
  • Browse databases, tables, and views
  • Inspect table columns
  • Preview table data
  • View table DDL
  • Use SQLite-compatible SQL behavior

Cloudflare D1 is treated as a remote SQLite-like database, but it has its own dedicated driver inside Dory. We intentionally did not reuse the local SQLite file runtime because D1 runs through Cloudflare's remote API surface.

How It Works

This integration uses Cloudflare's official D1 REST query API:

POST /accounts/{account_id}/d1/database/{database_id}/query

Dory sends SQL and positional parameters to the Cloudflare API, then normalizes the response into Dory's standard query result format.

Connection settings are simple:

  • Cloudflare Account ID
  • D1 Database ID
  • Cloudflare API Token

The API token is handled through Dory's existing encrypted identity secret path. It is not stored in connection options or displayed in the UI.

SQLite Semantics

D1 is SQLite-compatible, so Dory maps the SQL dialect to SQLite for formatting, editor behavior, metadata queries, and table preview SQL.

For metadata, Dory uses standard SQLite-style introspection, such as querying sqlite_schema for tables and views.

Column details use PRAGMA table_xinfo(...).

DDL display reads from sqlite_master or sqlite_schema, with a fallback generated from column metadata when needed.

Why This Matters

Cloudflare D1 is a good fit for serverless applications, edge workloads, prototypes, and lightweight production systems. But once a database exists, teams still need practical tools to inspect, query, and understand it.

With this integration, Dory can be used as a lightweight workbench for D1:

  • Check what tables exist
  • Inspect schema quickly
  • Run ad hoc SQL
  • Preview rows without writing a Worker
  • Review DDL from the table browser

Current Scope

This first version is intentionally focused.

It does not add D1-specific management features such as import/export, time travel, metrics, permission management, or custom Worker proxy protocols.

The goal is direct database access and exploration through the official Cloudflare REST API.

What Is Next

We will keep improving the D1 experience based on real usage. Possible next steps include better D1-specific metadata, richer schema summaries, and workflow improvements around serverless database debugging.

For now: Dory x Cloudflare D1 is available as a new data source.

Download Dory: https://getdory.dev