.do
Data Storage

sqlite

<50ms global queries Sqlite with zero-config TypeScript types. Deploy to 300+ edge locations, get instant AI agent access, and scale automatically. type-safe queries start free.

sqlite

SQLiTE.do

Overview

The sqlite primitive is part of the .do platform's semantic API system. It follows the $.Subject.verb.Object pattern for consistent, intuitive interactions across SDK, CLI, API, and MCP interfaces.

Semantic Pattern

All sqlite operations follow the semantic $.Sqlite.verb.Object pattern:

import { $, sqlite } from 'sdk.do'

// Create resources
await $.Sqlite.create.Resource({ /* config */ })

// Query data
await $.Sqlite.get.Data({ /* params */ })

// Update state
await $.Sqlite.update.Status({ /* changes */ })

Quick Start

import { sqlite } from 'sdk.do'

// Initialize and use the primitive
const result = await sqlite.operation({
  // configuration parameters
})

Access Methods

The sqlite primitive is accessible through multiple interfaces:

SDK

TypeScript/JavaScript library for programmatic access:

import { sqlite } from 'sdk.do'
await sqlite.method({ /* ... */ })

SDK Documentation

CLI

Command-line interface for terminal operations:

do sqlite <command> [options]

CLI Documentation

API

REST/RPC endpoints for HTTP integration:

curl -X POST https://api.do/v1/sqlite \
  -H "Content-Type: application/json" \
  -d '{"key":"value"}'

API Documentation

MCP

Model Context Protocol for AI assistant integration:

Use sqlite primitives with AI assistants via MCP

MCP Documentation

See other primitives in the data-storage category.