Preparing search index...
The search index is not available
mingo
mingo
operators/pipeline/sample
$sample
Function $sample
Randomly selects the specified number of documents from its input.
See
usage
.
$sample
(
collection
,
expr
,
options
)
:
Iterator
Parameters
collection
:
Iterator
expr
:
unknown
options
:
Options
Returns
Iterator
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
mingo
Loading...
Randomly selects the specified number of documents from its input.
See usage.