43 list(const options::aggregate& options = options::aggregate());
70 const options::aggregate& options = options::aggregate());
86 bsoncxx::v_noabi::
string::view_or_value name,
87 const options::aggregate& options = options::aggregate());
125 bsoncxx::v_noabi::document::view_or_value definition);
141 bsoncxx::v_noabi::
string::view_or_value name,
142 bsoncxx::v_noabi::document::view_or_value definition);
220 bsoncxx::v_noabi::document::view_or_value definition);
234 bsoncxx::v_noabi::
string::view_or_value name,
235 bsoncxx::v_noabi::document::view_or_value definition);
244 std::vector<
std::
string> _create_many_helper(
bsoncxx::v_noabi::array::view created_indexes);
246 const impl& _get_impl() const;
251 std::unique_ptr<impl> _impl;
257#include <mongocxx/config/postlude.hpp>
Provides mongocxx::v_noabi::options::aggregate.
Use a session for a sequence of operations, optionally with either causal consistency or snapshots.
Definition client_session.hpp:48
Class representing a client connection to MongoDB.
Definition client.hpp:61
Class representing server side document groupings within a MongoDB database.
Definition collection.hpp:87
Class representing a pointer to the result set of a query on a MongoDB server.
Definition cursor.hpp:42
Class representing a search index on a MongoDB server.
Definition search_index_model.hpp:20
Class representing a MongoDB search index view.
Definition search_index_view.hpp:24
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(const options::aggregate &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.
std::vector< std::string > create_many(const std::vector< search_index_model > &models)
Creates multiple search indexes in the collection.
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 fwd.hpp:204
The mongocxx 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.
The top-level namespace reserved for the C++ standard library.
Provides std::optional-related polyfills for library API usage.
Provides mongocxx::v_noabi::search_index_model.
Declares mongocxx::v_noabi::search_index_view.