|
update : 2015.11.03
php.shukuma.com검색:
|
MongoDB\Driver\Manager::__construct(mongodb >=0.2.0) MongoDB\Driver\Manager::__construct — Create new MongoDB Manager 설명
final public MongoDB\Driver\Manager::__construct
( string
$uri
[, array $options
[, array $driverOptions
]] )Constructs a new MongoDB\Driver\Manager object with the specified options. 인수
오류/예외
예제Example #1 MongoDB\Driver\Manager::__construct() basic examples Connecting to standalone MongoDB node
<?phpConnecting to a replica set
<?phpConnecting to a sharded cluster (i.e. one or more mongos instances)
<?phpConnecting to MongoDB with authentication credentials for a particular user and database.
<?php참고 |