131 _trim_factor = value;
172 return {std::move(v)};
A polyfill for std::optional<T>.
Definition optional.hpp:799
A union of BSON type values.
Definition value.hpp:54
v_noabi::types::bson_value::view view() const noexcept
Get a view over the bson_value owned by this object.
Definition value.hpp:323
range()=default
Default initialization.
Options related to range_options queries for Queryable Encryption.
Definition range_options.hpp:51
range_options & max(bsoncxx::v1::types::value value)
Set the "max" field.
range_options & min(bsoncxx::v1::types::value value)
Set the "min" field.
range_options & precision(std::int32_t value)
Set the "precision" field.
range_options & sparsity(std::int64_t value)
Set the "sparsity" field.
range_options & trim_factor(std::int32_t value)
Set the "trimFactor" field.
Used by mongocxx::v_noabi::options::encrypt::range_opts.
Definition range.hpp:51
bsoncxx::v_noabi::stdx::optional< bsoncxx::v_noabi::types::bson_value::view_or_value > const & max() const
Gets RangeOpts.max.
Definition range.hpp:114
range & sparsity(std::int64_t value)
Sets RangeOpts.sparsity.
Definition range.hpp:119
range & min(bsoncxx::v_noabi::types::bson_value::view_or_value value)
Sets RangeOpts.min.
Definition range.hpp:94
range & trim_factor(std::int32_t value)
Sets RangeOpts.trimFactor.
Definition range.hpp:130
bsoncxx::v_noabi::stdx::optional< std::int32_t > const & precision() const
Gets RangeOpts.precision.
Definition range.hpp:149
range & max(bsoncxx::v_noabi::types::bson_value::view_or_value value)
Sets RangeOpts.max.
Definition range.hpp:107
bsoncxx::v_noabi::stdx::optional< bsoncxx::v_noabi::types::bson_value::view_or_value > const & min() const
Gets RangeOpts.min.
Definition range.hpp:101
bsoncxx::v_noabi::stdx::optional< std::int64_t > const & sparsity() const
Gets RangeOpts.sparsity.
Definition range.hpp:125
range()=default
Default initialization.
bsoncxx::v_noabi::stdx::optional< std::int32_t > const & trim_factor() const
Gets RangeOpts.trimFactor.
Definition range.hpp:136
operator v1::range_options() const
Convert to the mongocxx::v1 equivalent.
Definition range.hpp:66
range & precision(std::int32_t value)
Sets RangeOpts.precision.
Definition range.hpp:142
#define MONGOCXX_ABI_EXPORT_CDECL(...)
Equivalent to MONGOCXX_ABI_EXPORT with MONGOCXX_ABI_CDECL.
Definition export.hpp:52
The mongocxx v_noabi macro guard postlude header.
The mongocxx v_noabi macro guard prelude header.
v_noabi::view_or_value< view, value > view_or_value
Equivalent to v_noabi::view_or_value<view, value>.
Definition view_or_value.hpp:31
v1::element::view to_v1(v_noabi::array::element const &v)
Convert to the bsoncxx::v1 equivalent of v.
Definition element.hpp:132
Declares entities whose ABI stability is guaranteed for documented symbols.
Declares entities representing options to use with various commands.
Declares entities whose ABI stability is NOT guaranteed.
v1::bulk_write to_v1(v_noabi::bulk_write v)
Convert to the mongocxx::v1 equivalent of v.
Definition bulk_write.hpp:162
v_noabi::bulk_write from_v1(v1::bulk_write v)
Convert to the mongocxx::v_noabi equivalent of v.
Definition bulk_write.hpp:155
The top-level namespace within which all mongocxx library entities are declared.
Declares mongocxx::v_noabi::options::range.
Provides mongocxx::v1::range_options.
Provides bsoncxx::v_noabi::types::bson_value::view_or_value.
Provides entities used to represent BSON types.
Provides bsoncxx::v1::types::value.
Provides std::optional-related polyfills for library API usage.
Equivalent to bsoncxx/types/bson_value/view.hpp.