Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/keywork/collections/mod.ts>KeyworkDocumentReference#fetchSnapshot

A library for building V8 Isolate web apps on Cloudflare Workers, Deno, and Node.JS
Latest
method KeyworkDocumentReference.prototype.fetchSnapshot
Re-export
import { KeyworkDocumentReference } from "https://deno.land/x/keywork@v6.2.1/collections/mod.ts";

Attempts to fetch a KeyworkDocumentSnapshot associated with the docPath.

If the deserializeAs option is not set, the type will attempt to be inferred from the parent collection's known metadata.

Parameters

optional
options: KeyworkDocumentFetchOptions

Returns

Promise<KeyworkDocumentSnapshot<ExpectedType>>