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

bitsAllClear

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

Creates a filter that matches all documents where all 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