Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • SampleRate

Index

Properties

Properties

$sampleRate: number

Matches a random selection of input documents. The number of documents selected approximates the sample rate expressed as a percentage of the total number of documents.

version

4.4.2

see

https://docs.mongodb.com/manual/reference/operator/aggregation/sampleRate/#mongodb-expression-exp.-sampleRate

Generated using TypeDoc