GoLang MongoDB\Driver\Monitoring\CommandStartedEvent::getCommandName

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



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

PHP MongoDB\Driver\Monitoring\CommandStartedEvent::getCommandName

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

MongoDB\Driver\Monitoring\CommandStartedEvent::getCommandName

(mongodb >=1.3.0)

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

Description

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

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

Parameters

This function has no parameters.

Return Values

Returns the command name.

Errors/Exceptions