mingo
Preparing search index...
operators/pipeline/sample
$sample
Function $sample
$sample
(
coll
:
Iterator
,
expr
:
{
size
:
number
}
,
_options
:
Options
)
:
Iterator
Randomly selects the specified number of documents from its input.
See
usage
.
Parameters
coll
:
Iterator
expr
:
{
size
:
number
}
_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.