fun <T> KProperty<T>.mod(divisor: Long, remainder: Long): Bson
(source)
Creates a filter that matches all documents where the value of a property divided by a divisor has the specified remainder (i.e. perform a modulo operation to select documents).
Return
the filter
Mongodb
.driver.manual reference/operator/query/mod $mod