import { MultiformatReplica } from "https://deno.land/x/earthstar@v10.0.1/mod.browser.ts";
Returns an array of docs for a given query. ``` const myQuery = { filter: { pathEndsWith: ".txt" }, limit: 5, };
const firstFiveTextDocs = await myReplica.queryDocs(myQuery);
```
Type Parameters
optional
F = DefaultFormatsParameters
optional
query: Omit<Query<[string]>, "formats"> = [UNSUPPORTED]optional
formats: FormatsArg<F>Returns
Promise<FormatDocType<F>[]>