MongoDB C++ Driver
mongocxx-3.10.2
|
RangeOpts
specifies index options for a Queryable Encryption field supporting "rangePreview" queries.
More...
#include <range.hpp>
Public Member Functions | |
range & | min (bsoncxx::v_noabi::types::bson_value::view_or_value value) |
Sets RangeOpts.min . More... | |
const stdx::optional< bsoncxx::v_noabi::types::bson_value::view_or_value > & | min () const |
Gets RangeOpts.min . More... | |
range & | max (bsoncxx::v_noabi::types::bson_value::view_or_value value) |
Sets RangeOpts.max . More... | |
const stdx::optional< bsoncxx::v_noabi::types::bson_value::view_or_value > & | max () const |
Gets RangeOpts.max . More... | |
range & | sparsity (std::int64_t value) |
Sets RangeOpts.sparsity . | |
const stdx::optional< std::int64_t > & | sparsity () const |
Gets RangeOpts.sparsity . | |
range & | precision (std::int32_t value) |
Sets RangeOpts.precision . More... | |
const stdx::optional< std::int32_t > & | precision () const |
Gets RangeOpts.precision . More... | |
RangeOpts
specifies index options for a Queryable Encryption field supporting "rangePreview" queries.
const stdx::optional<bsoncxx::v_noabi::types::bson_value::view_or_value>& mongocxx::v_noabi::options::range::max | ( | ) | const |
Gets RangeOpts.max
.
range& mongocxx::v_noabi::options::range::max | ( | bsoncxx::v_noabi::types::bson_value::view_or_value | value | ) |
Sets RangeOpts.max
.
const stdx::optional<bsoncxx::v_noabi::types::bson_value::view_or_value>& mongocxx::v_noabi::options::range::min | ( | ) | const |
Gets RangeOpts.min
.
range& mongocxx::v_noabi::options::range::min | ( | bsoncxx::v_noabi::types::bson_value::view_or_value | value | ) |
Sets RangeOpts.min
.
const stdx::optional<std::int32_t>& mongocxx::v_noabi::options::range::precision | ( | ) | const |
Gets RangeOpts.precision
.
double
or decimal128
. range& mongocxx::v_noabi::options::range::precision | ( | std::int32_t | value | ) |
Sets RangeOpts.precision
.
double
or decimal128
.