kmongo / org.litote.kmongo / com.mongodb.client.MapReduceIterable

Extensions for com.mongodb.client.MapReduceIterable

filter

Sets the query filter to apply to the query.

fun <T> MapReduceIterable<T>.filter(filter: String): MapReduceIterable<T>

scope

Sets the global variables that are accessible in the map, reduce and finalize functions.

fun <T> MapReduceIterable<T>.scope(scope: String): MapReduceIterable<T>

sort

Sets the sort criteria to apply to the query.

fun <T> MapReduceIterable<T>.sort(sort: String): MapReduceIterable<T>