Database

Managed SQLite at the edge

Managed SQLite databases that live close to your code. Use the built-in SQL editor to query your data, browse tables, and even generate queries with AI assistance.

Database Explorer

SQL Query
Execute SQL queries against your database
Press Cmd/Ctrl + Enter to execute
Results
5 rows returned in 12ms
idnameemailactive
1Alice Johnsonalice@example.comYes
2Bob Smithbob@example.comYes
3Carol Whitecarol@example.comNo
4David Browndavid@example.comYes
5Eve Daviseve@example.comYes

Key Features

Table Browser

Browse your database tables and view data with pagination.

SQL Editor

Execute queries directly in the dashboard with syntax highlighting.

AI Query Generation

Describe what you want in natural language and let AI write the SQL.

Edge Replication

Read replicas at the edge for low-latency queries worldwide.

Database Binding

Access your database from Workers with a simple binding.

src/index.ts
export default {
  async fetch(request, env) {
    const { results } = await env.DB
      .prepare("SELECT * FROM users")
      .all();

    return Response.json({ users: results });
  },
};

Ready to get started?

Deploy your first project in minutes with Ploy.

    Database | Ploy