kmongo / org.litote.kmongo / kotlin.reflect.KProperty / bitsAnySet

bitsAnySet

infix fun <T> KProperty<T>.bitsAnySet(bitmask: Long): Bson (source)

Creates a filter that matches all documents where any of the bit positions are set in the property.

Parameters

bitmask - the bitmask

Return
the filter

Mongodb
.driver.manual reference/operator/query/bitsAnySet $bitsAnySet