bitsAllSet

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

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

Return

the filter

Parameters

bitmask

the bitmask