GoLang MongoDB\Driver\Monitoring\CommandStartedEvent::getDatabaseName

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



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

PHP MongoDB\Driver\Monitoring\CommandStartedEvent::getDatabaseName

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

MongoDB\Driver\Monitoring\CommandStartedEvent::getDatabaseName

(mongodb >=1.3.0)

MongoDB\Driver\Monitoring\CommandStartedEvent::getDatabaseNameReturns the database on which the command was executed

Description

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

Parameters

This function has no parameters.

Return Values

Returns the database on which the command was executed.

Errors/Exceptions