update : 2015.11.03
php.shukuma.com
|
The MongoDB\Driver\Server class
The MongoDB\Driver\Server class
(mongodb >=0.2.0)
클래스 개요
final
MongoDB\Driver\Server
{
final public __construct
( string $host
, string $port
[, array $options
[, array $driverOptions
]] )
final public ReturnType executeBulkWrite
( string $namespace
, BulkWrite $zwrite
)
final public ReturnType executeCommand
( string $db
, Command $command
)
final public ReturnType executeQuery
( string $namespace
, Query $zquery
)
final public ReturnType getHost
( void
)
final public ReturnType getInfo
( void
)
final public ReturnType getPort
( void
)
final public ReturnType getState
( void
)
final public ReturnType getType
( void
)
}
예약 상수
MongoDB\Driver\Server::TYPE_MONGOS
-
MongoDB\Driver\Server::TYPE_STANDALONE
-
MongoDB\Driver\Server::TYPE_ARBITER
-
MongoDB\Driver\Server::TYPE_SECONDARY
-
MongoDB\Driver\Server::TYPE_PRIMARY
-
Table of Contents
|
|