45 list(options::aggregate const& options = options::aggregate());
71 list(
bsoncxx::v_noabi::
string::view_or_value name, options::aggregate const& options = options::aggregate());
88 bsoncxx::v_noabi::
string::view_or_value name,
89 options::aggregate const& options = options::aggregate());
143 bsoncxx::v_noabi::
string::view_or_value name,
144 bsoncxx::v_noabi::document::view_or_value definition);
236 bsoncxx::v_noabi::
string::view_or_value name,
237 bsoncxx::v_noabi::document::view_or_value definition);
246 std::vector<std::
string> _create_many_helper(
bsoncxx::v_noabi::array::view created_indexes);
248 impl const& _get_impl() const;
253 std::unique_ptr<impl> _impl;
259#include <mongocxx/config/postlude.hpp>
Provides mongocxx::v_noabi::options::aggregate.
Supports MongoDB client session operations.
Definition client_session.hpp:50
A client connection to a MongoDB server.
Definition client.hpp:61
A MongoDB collection.
Definition collection.hpp:87
A cursor over the documents returned by a query to a MongoDB server.
Definition cursor.hpp:42
Used by mongocxx::v_noabi::search_index_view.
Definition search_index_model.hpp:20
A MongoDB Atlas Search Index.
Definition search_index_view.hpp:26
std::vector< std::string > create_many(std::vector< search_index_model > const &models)
Creates multiple search indexes in the collection.
void drop_one(bsoncxx::v_noabi::string::view_or_value name)
Drops a single search index from the collection by the index name.
cursor list(options::aggregate const &options=options::aggregate())
Returns a cursor over all the search indexes.
std::string create_one(bsoncxx::v_noabi::document::view_or_value definition)
This is a convenience method for creating a single search index with a default name.
void update_one(bsoncxx::v_noabi::string::view_or_value name, bsoncxx::v_noabi::document::view_or_value definition)
Updates a single search index from the collection by the search index name.
Declares mongocxx::v_noabi::collection.
Provides mongocxx::v_noabi::cursor.
Provides bsoncxx::v_noabi::document::view_or_value.
#define MONGOCXX_ABI_EXPORT_CDECL(...)
Equivalent to MONGOCXX_ABI_EXPORT with MONGOCXX_ABI_CDECL.
Definition export.hpp:52
The mongocxx v_noabi macro guard prelude header.
The top-level namespace within which all bsoncxx library entities are declared.
The top-level namespace within which all mongocxx library entities are declared.
Provides mongocxx::v_noabi::search_index_model.
Declares mongocxx::v_noabi::search_index_view.
Provides std::optional-related polyfills for library API usage.