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

bitsAnyClear

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

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

Parameters

fieldName - the field name

bitmask - the bitmask

Return
the filter

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