Companion

object Companion

Functions

Link copied to clipboard
fun insert(): StoreSemantics

Create the document; fail if it already exists.

Link copied to clipboard
fun replace(cas: Long = 0, createParent: Boolean = true): StoreSemantics

Replace an existing document. Fail if the document does not exist. Fail if a CAS value is specified and it does not match the existing document's CAS value.

Link copied to clipboard
fun upsert(): StoreSemantics

Replace the document, or create it if it does not exist.