GoLang MongoDB\Driver\Monitoring\CommandFailedEvent::getCommandName

request it (368)
GoLang replacement for PHP's MongoDB\Driver\Monitoring\CommandFailedEvent::getCommandName [edit | history]



Do you know a GoLang replacement for PHP's MongoDB\Driver\Monitoring\CommandFailedEvent::getCommandName? Write it!

PHP MongoDB\Driver\Monitoring\CommandFailedEvent::getCommandName

PHP original manual for MongoDB\Driver\Monitoring\CommandFailedEvent::getCommandName [ show | php.net ]

MongoDB\Driver\Monitoring\CommandFailedEvent::getCommandName

(mongodb >=1.3.0)

MongoDB\Driver\Monitoring\CommandFailedEvent::getCommandNameReturns the command name

Description

final public string MongoDB\Driver\Monitoring\CommandFailedEvent::getCommandName ( void )

Returns the command name (e.g. "find", "aggregate").

Parameters

This function has no parameters.

Return Values

Returns the command name.

Errors/Exceptions