Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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-beta.6/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); `