kmongo / org.litote.kmongo / bitwiseXor

bitwiseXor

fun <T : Number?> bitwiseXor(property: KProperty<T>, value: Int): Bson (source)

Creates an update that performs a bitwise xor between the given integer value and the integral value of the property.

Parameters

property - the property

value - the value

Return
the update

fun <T : Number?> bitwiseXor(property: KProperty<T>, value: Long): Bson (source)

Creates an update that performs a bitwise xor between the given long value and the integral value of the property.

Parameters

property - the property

value - the value

Return
the update