45class command_started {
93 command_started(
void const* impl);
A non-owning, read-only BSON document.
Definition view.hpp:54
A polyfill for std::optional<T>.
Definition optional.hpp:799
A polyfill for std::string_view.
Definition string_view.hpp:412
bsoncxx::v1::stdx::optional< bsoncxx::v1::oid > service_id() const
Return the service ID for the command (when in load balancer mode).
bsoncxx::v1::stdx::string_view command_name() const
Return the command name.
bsoncxx::v1::document::view command() const
Return the command.
std::int64_t operation_id() const
Return the client-generated operation ID.
bsoncxx::v1::stdx::string_view host() const
Return the hostname for the connection used by the command.
std::uint16_t port() const
Return the port number for the connection used by the command.
std::int64_t request_id() const
Return the client-generated request ID.
bsoncxx::v1::stdx::string_view database_name() const
Return the database name.
Declares mongocxx::v1::events::command_started.
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 postlude header.
The mongocxx v1 macro guard prelude header.
Declares entities describing APM events.
Declares entities whose ABI stability is guaranteed for documented symbols.
The top-level namespace within which all mongocxx library entities are declared.
Declares bsoncxx::v1::document::view.
Declares bsoncxx::v1::oid.
Provides std::optional-related polyfills for library API usage.
Provides std::string_view-related polyfills for library API usage.