bitwiseOr

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

Creates an update that performs a bitwise or between the given integer 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?> bitwiseOr(property: KProperty<T>, value: Int): Bson

Creates an update that performs a bitwise or between the given integer 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


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

Creates an update that performs a bitwise or 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?> bitwiseOr(property: KProperty<T>, value: Long): Bson

Creates an update that performs a bitwise or 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