|Key Name||Default Value||Required|
This options specifies how the driver samples data when generating a temporary schema definition.
Forward: The driver samples data starting from the first record in the database, then samples the next record, and so on.
Backwards: The driver samples data starting from the last record in the database, then samples the preceding record, and so on.
Random: The driver selects sample records from the data source at random until the sampling limit is reached (for more information, see Documents to Sample).
The random sampling strategy is only supported by MongoDB Server 3.2 or higher.