|
MongoDB C++ Driver
mongocxx-3.4.0
|
An event notification sent when the driver successfully executes a MongoDB command. More...
#include <command_succeeded_event.hpp>
Public Member Functions | |
| ~command_succeeded_event () | |
| Destroys a command_succeeded_event. | |
| bsoncxx::document::view | reply () const |
| Returns the server reply for the succeeded operation. More... | |
| bsoncxx::stdx::string_view | command_name () const |
| Returns the name of the command. More... | |
| std::int64_t | duration () const |
| Returns the duration of the successful operation. More... | |
| std::int64_t | request_id () const |
| Returns the request id. More... | |
| std::int64_t | operation_id () const |
| Returns the operation id. More... | |
| bsoncxx::stdx::string_view | host () const |
| Returns the host name. More... | |
| std::uint16_t | port () const |
| Returns the port. More... | |
An event notification sent when the driver successfully executes a MongoDB command.
| bsoncxx::stdx::string_view mongocxx::events::command_succeeded_event::command_name | ( | ) | const |
Returns the name of the command.
| std::int64_t mongocxx::events::command_succeeded_event::duration | ( | ) | const |
Returns the duration of the successful operation.
| bsoncxx::stdx::string_view mongocxx::events::command_succeeded_event::host | ( | ) | const |
Returns the host name.
| std::int64_t mongocxx::events::command_succeeded_event::operation_id | ( | ) | const |
Returns the operation id.
| std::uint16_t mongocxx::events::command_succeeded_event::port | ( | ) | const |
Returns the port.
| bsoncxx::document::view mongocxx::events::command_succeeded_event::reply | ( | ) | const |
Returns the server reply for the succeeded operation.
| std::int64_t mongocxx::events::command_succeeded_event::request_id | ( | ) | const |
Returns the request id.
1.8.13