addAndGet

fun addAndGet(path: String, delta: Long, xattr: Boolean = false): SubdocLong

Adds delta to an integral number field. If the field does not exist, creates it with a value of delta.

NotemutateIn throws ValueInvalidException if this operation would overflow or underflow a signed 64-bit integer.

Return

A handle for getting the new value from the MutateInResult.