49 index_view(index_view
const&) =
delete;
90 bsoncxx::
v_noabi::document::view_or_value const& index_options = {},
121 bsoncxx::
v_noabi::document::view_or_value const& index_options = {},
294 bsoncxx::
v_noabi::document::view_or_value const& index_options = {},
327 bsoncxx::
v_noabi::document::view_or_value const& index_options = {},
416 friend ::mongocxx::v_noabi::collection;
424 std::unique_ptr<impl> _impl;
A polyfill for std::optional<T>.
Definition optional.hpp:800
A read-only BSON document that owns its underlying buffer.
Definition value.hpp:39
Supports MongoDB client session operations.
Definition client_session.hpp:50
A client connection to a MongoDB server.
Definition client.hpp:61
A cursor over the documents returned by a query to a MongoDB server.
Definition cursor.hpp:42
Used by mongocxx::v_noabi::index_view.
Definition index_model.hpp:32
A MongoDB index.
Definition index_view.hpp:42
cursor list()
Returns a cursor over all the indexes.
void drop_one(bsoncxx::v_noabi::stdx::string_view name, options::index_view const &options=options::index_view{})
Drops a single index by name.
void drop_all(options::index_view const &options=options::index_view{})
Drops all indexes in the collection.
cursor list(client_session const &session)
Returns a cursor over all the indexes.
bsoncxx::v_noabi::document::value create_many(std::vector< index_model > const &indexes, options::index_view const &options=options::index_view{})
Adds a container of indexes to the collection.
bsoncxx::v_noabi::stdx::optional< std::string > create_one(bsoncxx::v_noabi::document::view_or_value const &keys, bsoncxx::v_noabi::document::view_or_value const &index_options={}, options::index_view const &options=options::index_view{})
Creates an index. A convenience method that calls create_many.
Used by MongoDB index view operations.
Definition index_view.hpp:35
Provides mongocxx::v_noabi::client_session.
Declares mongocxx::v_noabi::collection.
Provides mongocxx::v_noabi::cursor.
Provides bsoncxx::v_noabi::document::value.
Provides mongocxx::v_noabi::index_model.
Declares mongocxx::v_noabi::index_view.
#define MONGOCXX_ABI_EXPORT_CDECL(...)
Equivalent to MONGOCXX_ABI_EXPORT with MONGOCXX_ABI_CDECL.
Definition export.hpp:52
The mongocxx v_noabi macro guard postlude header.
The mongocxx v_noabi macro guard prelude header.
The top-level namespace within which all bsoncxx library entities are declared.
Declares entities representing options to use with various commands.
Declares entities whose ABI stability is NOT guaranteed.
The top-level namespace within which all mongocxx library entities are declared.
Provides mongocxx::v_noabi::options::index_view.
Provides std::optional-related polyfills for library API usage.