def addEachToSet[TItem](fieldName: String, values: TItem*): Bson Creates an update that adds each of the given values to the array value of the field with the given name, unless the value is already present, in which case it does nothing
def addToSet[TItem](fieldName: String, value: TItem): Bson Creates an update that adds the given value to the array value of the field with the given name, unless the value is already present, in which case it does nothing
def bitwiseAnd(fieldName: String, value: Long): Bson Creates an update that performs a bitwise and between the given long value and the integral value of the field with the given name.
def bitwiseAnd(fieldName: String, value: Int): Bson Creates an update that performs a bitwise and between the given integer value and the integral value of the field with the given name.
def bitwiseOr(fieldName: String, value: Long): Bson Creates an update that performs a bitwise or between the given long value and the integral value of the field with the given name.
def bitwiseOr(fieldName: String, value: Int): Bson Creates an update that performs a bitwise or between the given integer value and the integral value of the field with the given name.
def bitwiseXor(fieldName: String, value: Long): Bson Creates an update that performs a bitwise xor between the given long value and the integral value of the field with the given name.
def bitwiseXor(fieldName: String, value: Int): Bson Creates an update that performs a bitwise xor between the given integer value and the integral value of the field with the given name.
def max[TItem](fieldName: String, value: TItem): Bson Creates an update that sets the value of the field to the given value if the given value is greater than the current value of the field.
def min[TItem](fieldName: String, value: TItem): Bson Creates an update that sets the value of the field to the given value if the given value is less than the current value of the field.
def mul(fieldName: String, number: Number): Bson Creates an update that multiplies the value of the field with the given name by the given number.
def popFirst(fieldName: String): Bson Creates an update that pops the first element of an array that is the value of the field with the given name.
def popLast(fieldName: String): Bson Creates an update that pops the last element of an array that is the value of the field with the given name.
def pull[TItem](fieldName: String, value: TItem): Bson Creates an update that removes all instances of the given value from the array value of the field with the given name.
def pullAll[TItem](fieldName: String, values: TItem*): Bson Creates an update that removes all instances of the given values from the array value of the field with the given name.
def pullByFilter(filter: Bson): Bson Creates an update that removes from an array all elements that match the given filter.
def push[TItem](fieldName: String, value: TItem): Bson Creates an update that adds the given value to the array value of the field with the given name.
def pushEach[TItem](fieldName: String, options: com.mongodb.client.model.PushOptions, values: TItem*): Bson Creates an update that adds each of the given values to the array value of the field with the given name, applying the given options for positioning the pushed values, and then slicing and/or sorting the array.
def pushEach[TItem](fieldName: String, values: TItem*): Bson Creates an update that adds each of the given values to the array value of the field with the given name.
def rename(fieldName: String, newFieldName: String): Bson Creates an update that renames a field.
def set[TItem](fieldName: String, value: TItem): Bson Creates an update that sets the value of the field with the given name to the given value.
def setOnInsert[TItem](fieldName: String, value: TItem): Bson Creates an update that sets the value of the field with the given name to the given value, but only if the update is an upsert that results in an insert of a document.