401#include <mongocxx/v1/detail/postlude.hpp>
Provides mongocxx::v1::aggregate_options.
A non-owning, read-only BSON document.
Definition view.hpp:54
A polyfill for std::string_view.
Definition string_view.hpp:412
Options for an "aggregate" command.
Definition aggregate_options.hpp:64
A MongoDB client session.
Definition client_session.hpp:48
A MongoDB cursor.
Definition cursor.hpp:41
Support for MongoDB indexes.
Definition indexes.hpp:58
A description of a MongoDB Atlas Search index.
Definition search_indexes.hpp:315
model(model &&other) noexcept
Move constructor.
bsoncxx::v1::document::view definition() const
Return the current "definition" field.
bsoncxx::v1::stdx::optional< bsoncxx::v1::stdx::string_view > name() const
Return the current "name" field.
~model()
Destroy this object.
bsoncxx::v1::stdx::optional< bsoncxx::v1::stdx::string_view > type() const
Return the current "type" field.
~search_indexes()
Destroy this object.
v1::cursor list(bsoncxx::v1::stdx::string_view name, v1::aggregate_options const &opts={})
Return information for the search index with the given name in the associated collection.
void update_one(bsoncxx::v1::stdx::string_view name, bsoncxx::v1::document::view definition)
Update the definition of the search index with the given name in the associated collection.
void drop_one(bsoncxx::v1::stdx::string_view name)
Drop the search index with the given name in the associated collection.
std::string create_one(v1::client_session const &session, bsoncxx::v1::document::view definition)
Create a single search index in the associated collection.
search_indexes(search_indexes &&other) noexcept
Move constructor.
v1::cursor list(v1::client_session const &session, v1::aggregate_options const &opts={})
Return information for all search indexes in the associated collection.
std::vector< std::string > create_many(std::vector< model > const &indexes)
Create multiple search indexes in the associated collection.
std::string create_one(bsoncxx::v1::document::view definition)
Create a single search index in the associated collection.
v1::cursor list(v1::aggregate_options const &opts={})
Return information for all search indexes in the associated collection.
std::string create_one(bsoncxx::v1::stdx::string_view name, bsoncxx::v1::document::view definition)
Create a single search index in the associated collection.
Provides macros to control the set of symbols exported in the ABI.
#define MONGOCXX_ABI_EXPORT_CDECL(...)
Equivalent to MONGOCXX_ABI_EXPORT with MONGOCXX_ABI_CDECL.
Definition export.hpp:52
The mongocxx v1 macro guard prelude header.
The top-level namespace within which all bsoncxx library entities are declared.
Declares entities whose ABI stability is guaranteed for documented symbols.
The top-level namespace within which all mongocxx library entities are declared.
Declares mongocxx::v1::search_indexes.
Declares mongocxx::v1::client_session.
Declares mongocxx::v1::cursor.
Declares bsoncxx::v1::document::value.
Declares bsoncxx::v1::document::view.
Provides std::optional-related polyfills for library API usage.
Provides std::string_view-related polyfills for library API usage.