bitsAllClear

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

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

Return

the filter

Parameters

fieldName

the field name

bitmask

the bitmask