kmongo / org.litote.kmongo / or

or

fun or(filters: Iterable<Bson?>): Bson (source)
fun or(vararg filters: Bson?): Bson (source)

Creates a filter that preforms a logical OR of the provided list of filters.

Parameters

filters - the list of filters to and together

Return
the filter

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