MongoDB C++ Driver
mongocxx-3.6.2
|
19 #include <bsoncxx/document/view.hpp>
21 #include <mongocxx/config/prelude.hpp>
24 MONGOCXX_INLINE_NAMESPACE_BEGIN
83 bsoncxx::stdx::string_view
host()
const;
90 std::uint16_t
port()
const;
93 const void* _started_event;
97 MONGOCXX_INLINE_NAMESPACE_END
100 #include <mongocxx/config/postlude.hpp>
Top level namespace for the MongoDB C++ driver.
Definition: bulk_write.hpp:24
~command_started_event()
Destroys a command_started_event.
std::int64_t request_id() const
Returns the request id.
bsoncxx::stdx::string_view database_name() const
Returns the name of the database.
std::uint16_t port() const
Returns the port.
bsoncxx::stdx::string_view command_name() const
Returns the name of the command.
bsoncxx::stdx::string_view host() const
Returns the host name.
bsoncxx::document::view command() const
Returns the command that has been started.
An event notification sent when the driver begins executing a MongoDB command.
Definition: command_started_event.hpp:34
std::int64_t operation_id() const
Returns the operation id.
A read-only, non-owning view of a BSON document.
Definition: view.hpp:33