bitwiseAnd

@JvmName(name = "bitwiseAndExt")
infix fun <T : Number?> KProperty<T>.bitwiseAnd(value: Int): Bson

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

Return

the update

Parameters

value

the value


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

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

Return

the update

Parameters

property

the property

value

the value


@JvmName(name = "bitwiseAndExt")
infix fun <T : Number?> KProperty<T>.bitwiseAnd(value: Long): Bson

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

Return

the update @mongodb.driver.manual reference/operator/update/bit/ $bit

Parameters

value

the value


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

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

Return

the update @mongodb.driver.manual reference/operator/update/bit/ $bit

Parameters

property

the property

value

the value