Represents a mutable CRDT counter that can be incremented by a specific amount while updating a document.
This class can't be instantiated directly, it's returned automatically for any counter property within an update block via counter.
The value of the counter.
Increments the counter by amount, which can be any valid number.
amount
Only valid within the update closure of PendingCursorOperation.update() and PendingIDSpecificOperation.update(), otherwise an exception is thrown.
update
Represents a mutable CRDT counter that can be incremented by a specific amount while updating a document.
This class can't be instantiated directly, it's returned automatically for any counter property within an update block via counter.