Represents whether or not the value should be set as a
default value. Set this to true
if you want to set a default value that
you expect to be overwritten by other devices in the network. The default
value is false
.
Whether the counter is set as a default value.
The value of the counter.
Increments the counter by amount
, which can be any valid number. Only
valid within the closure of Collection's {@link Collection.update | update()}
method, otherwise an exception is thrown.
Creates a new counter with an initial value that can be used as part of a document's content.