prepend
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.
Parameters
id
the ID of the document to modify.
content
the binary content to prepend to the document.
Throws
if the document is not found in the collection.
if a non-zero CAS is specified and the document has been concurrently modified on the server.