MongoDB\Driver\Server::__construct
(mongodb >=1.0.0)
MongoDB\Driver\Server::__construct — Create a new Server (not used)
说明
final private MongoDB\Driver\Server::__construct()
MongoDB\Driver\Server objects are created internally by MongoDB\Driver\Manager when a database connection is established and may be returned by MongoDB\Driver\Manager::getServers() and MongoDB\Driver\Manager::selectServer().
参数
此函数没有参数。
参见
- MongoDB\Driver\Manager::getServers() - Return the servers to which this manager is connected
- MongoDB\Driver\Manager::selectServer() - Select a server matching a read preference

User Contributed Notes
There are no user contributed notes for this page.
备份地址:http://www.lvesu.com/blog/php/mongodb-driver-server.construct.php