Hierarchy

  • CollectionInterface

Implemented by

Properties

Methods

Properties

name: string

The name of the collection.

Methods

  • Inserts a new document into the collection and returns its ID. If the document already exists, the contents of both are merged by default. You can change this by providing a different writeStrategy via options.

    Parameters

    Returns Promise<DocumentID>