scope

fun scope(scope: Bson?): MapReduceFlow<T>

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

Return

this

Parameters

scope

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

See also