Binary Collection
Functions
Link copied to clipboard
suspend fun append(id: String, content: ByteArray, common: CommonOptions = CommonOptions.Default, durability: Durability = Durability.none(), cas: Long = 0): MutationResult
Content copied to clipboard
Appends binary content to a document.
Link copied to clipboard
suspend fun decrement(id: String, common: CommonOptions = CommonOptions.Default, durability: Durability = Durability.none(), expiry: Expiry = Expiry.none(), delta: ULong, initialValue: ULong?): CounterResult
Content copied to clipboard
Decrements a counter document and returns the new value.
Link copied to clipboard
suspend fun increment(id: String, common: CommonOptions = CommonOptions.Default, durability: Durability = Durability.none(), expiry: Expiry = Expiry.none(), delta: ULong, initialValue: ULong? = delta): CounterResult
Content copied to clipboard
Increments a counter document and returns the new value.
Link copied to clipboard
suspend fun prepend(id: String, content: ByteArray, common: CommonOptions = CommonOptions.Default, durability: Durability = Durability.none(), cas: Long = 0): MutationResult
Content copied to clipboard
Prepends binary content to a document.