kmongo / org.litote.kmongo / where

where

fun where(javaScriptExpression: String): Bson (source)

Creates a filter that matches all documents for which the given expression is true.

Parameters

javaScriptExpression - the JavaScript expression

Return
the filter

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