Class Collection<T>

Type Parameters

Constructors

Properties

Doc: typeof Doc
docs: DocMap
model: RootModel
name: string
size: number

Methods

  • Removes the document with id from this Collection. If there are no more documents in the Collection after the given document is removed, then this destroys the Collection.

    Parameters

    • id: string

    Returns void