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

x/earthstar/src/entries/universal.ts>QueryFilter

Storage for private, distributed, offline-first applications.
Go to Latest
interface QueryFilter
Re-export
import { type QueryFilter } from "https://deno.land/x/earthstar@v10.2.0/src/entries/universal.ts";

Filters a query by document attributes.

Properties

optional
path: Path

Match an exact path.

optional
pathStartsWith: string
optional
pathEndsWith: string
optional
author: AuthorAddress

Match documents with a given author.

optional
timestamp: Timestamp
optional
timestampGt: Timestamp

Match documents newer than the given timestamp.

optional
timestampLt: Timestamp

Match documents older than the given timestamp.