Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/earthstar/src/replica/doc_drivers/sqlite.shared.ts>CREATE_INDEXES_QUERY

Earthstar is a tool for private, undiscoverable, offline-first networks.
Go to Latest
variable CREATE_INDEXES_QUERY
import { CREATE_INDEXES_QUERY } from "https://deno.land/x/earthstar@v10.0.0-alpha.4/src/replica/doc_drivers/sqlite.shared.ts";

type

`CREATE INDEX IF NOT EXISTS docsFormat ON docs(format); CREATE INDEX IF NOT EXISTS docsPath ON docs(path); CREATE INDEX IF NOT EXISTS docsAuthor ON docs(author); CREATE INDEX IF NOT EXISTS docsTimestamp ON docs(timestamp); CREATE INDEX IF NOT EXISTS docsSignature ON docs(signature); CREATE INDEX IF NOT EXISTS docsDeleteAfter ON docs(deleteAfter); CREATE INDEX IF NOT EXISTS docsLocalIndex ON docs(localIndex); CREATE INDEX IF NOT EXISTS docsPathAuthor ON docs(pathAuthor); `