Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PathHandle<T>

Type parameters

  • T

Hierarchy

  • PathHandle

Index

Properties

Methods

Properties

db

db: Database

path

path: Path

spec

spec: SpecFunction<T>

Methods

create

find

  • find(id?) will yield a ducment handle to the document with the specified ID, or the first document handle that comes from list()

    Parameters

    Returns Promise<DocHandle<T> | void>

list

  • list() will yield a paginated list of document handles to the collection of documents under the {@link PathHandles}'s path

    Parameters

    Returns Promise<DocHandle<T>[]>

selector

  • selector(): Promise<Selector>

Generated using TypeDoc