PHP - Manual: MongoDB\Driver\Monitoring\CommandStartedEvent::getDatabaseName
2024-12-22
(mongodb >=1.3.0)
MongoDB\Driver\Monitoring\CommandStartedEvent::getDatabaseName — Returns the database on which the command was executed
此函数没有参数。
Returns the database on which the command was executed.
官方地址:https://www.php.net/manual/en/mongodb-driver-monitoring-commandstartedevent.getdatabasename.php