Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/earthstar/src/replica/replica_cache.ts>ReplicaCache#queryPaths

Earthstar is a tool for private, undiscoverable, offline-first networks.
Go to Latest
method ReplicaCache.prototype.queryPaths
import { ReplicaCache } from "https://deno.land/x/earthstar@v10.0.0-beta.6/src/replica/replica_cache.ts";

Returns an array of all unique paths of documents returned by a given query.

Parameters

optional
query: Omit<Query<[string]>, "formats"> = [UNSUPPORTED]
optional
formats: FormatsArg<F>