17 #include <bsoncxx/document/value.hpp>
18 #include <bsoncxx/document/view_or_value.hpp>
19 #include <mongocxx/options/index.hpp>
21 #include <mongocxx/config/prelude.hpp>
24 inline namespace v_noabi {
34 const bsoncxx::document::view_or_value& options = {});
72 bsoncxx::document::value _options;
78 #include <mongocxx/config/postlude.hpp>
Class representing an index on a MongoDB server.
Definition: index_model.hpp:28
index_model(index_model &&) noexcept
Move constructs an index_model.
index_model(const bsoncxx::document::view_or_value &keys, const bsoncxx::document::view_or_value &options={})
Initializes a new index_model over a mongocxx::collection.
The top-level namespace for bsoncxx library entities.
Definition: element.hpp:24
The top-level namespace for mongocxx library entities.
Definition: bulk_write.hpp:24