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
<?php Connecting to a replica set
<?php Connecting to a sharded cluster (i.e. one or more mongos instances)
<?php Connecting to MongoDB with authentication credentials for a particular user and database.
<?php 참고 |