Represents a CRDT counter that can be upserted as part of a document or assigned to a property during an update of a document.

Hierarchy

Constructors

Properties

Constructors

  • Creates a new counter that can be used as part of a document's content.

    Returns Counter

Properties

value: number

The value of the counter.