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 MONGOCXX_INLINE_NAMESPACE_BEGIN
73 bsoncxx::document::value _options;
76 MONGOCXX_INLINE_NAMESPACE_END
79 #include <mongocxx/config/postlude.hpp>
Class representing an index on a MongoDB server.
Definition: index_model.hpp:29
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.
index_model(index_model &&) noexcept
Move constructs an index_model.
Top level namespace for MongoDB C++ BSON functionality.
Definition: element.hpp:24
Top level namespace for the MongoDB C++ driver.
Definition: bulk_write.hpp:24