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

bitsAllSet

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

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

Parameters

bitmask - the bitmask

Return
the filter

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