kmongo / org.litote.kmongo / bitwiseAnd

bitwiseAnd

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

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