infix fun <T> KProperty<T?>.eq(value: T?): Bson
(source)
Creates a filter that matches all documents where the value of the property equals the specified value. Note that this doesn't actually generate a $eq operator, as the query language doesn't require it.
Parameters
Return
the filter
Mongodb
.driver.manual reference/operator/query/eq $eq