kmongo / org.litote.kmongo / bitwiseAnd

bitwiseAnd

@JvmName("ulongbitwiseAnd") fun bitwiseAnd(property: KProperty<<ERROR CLASS>>, value: Int): Bson (source)
fun <T : Number?> bitwiseAnd(property: KProperty<T>, value: Int): Bson (source)

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

Parameters

property - the property

value - the value

Return
the update

@JvmName("ulongbitwiseAnd") fun bitwiseAnd(property: KProperty<<ERROR CLASS>>, value: Long): Bson (source)
fun <T : Number?> bitwiseAnd(property: KProperty<T>, value: Long): Bson (source)

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

Parameters

property - the property

value - the value

Return
the update

Mongodb
.driver.manual reference/operator/update/bit/ $bit