the number of documents to return
the number of documents to return
(sample: StringAdd).self
(sample: StringFormat).self
(sample: ArrowAssoc[Sample]).x
(Since version 2.10.0) Use leftOfArrow
instead
(sample: Ensuring[Sample]).x
(Since version 2.10.0) Use resultOfEnsuring
instead
Randomly selects the specified number of documents from its input. https://docs.mongodb.org/master/reference/operator/aggregation/sample/
the number of documents to return