Class RangeOptions
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.Encryption.dll
Range options.
public sealed class RangeOptions
Inheritance
RangeOptions
Inherited Members
Remarks
The Range algorithm is experimental only. It is not intended for public use. RangeOpts specifies index options for a Queryable Encryption field supporting "range" queries. min, max, sparsity, and range must match the values set in the encryptedFields of the destination collection. For double and decimal128, min/max/precision must all be set, or all be unset. RangeOptions only applies when algorithm is "range".
Constructors
RangeOptions(Optional, Optional, Optional<int?>, Optional<long?>, Optional<int?>)
Initializes a new instance of the RangeOptions class.
Properties
Maximum value.
Minimum value.
Gets the precision.
Gets the sparsity.
Gets the trim factor.