Package version:

Interface GetDocumentOptions<TModel, TFields>

Options for retrieving a single document.

interface GetDocumentOptions<TModel, TFields> {
    selectedFields?: SelectArray<TFields>;
}

Type Parameters

Hierarchy (view full)

Properties

Properties

selectedFields?: SelectArray<TFields>

List of field names to retrieve for the document; Any field not retrieved will be missing from the returned document.