update : 2015.11.03
php.shukuma.com검색:
|
The MongoClient class(PECL mongo >=1.3.0) 소개A connection manager for PHP and MongoDB. This class is used to create and manage connections. A typical use is: Example #1 MongoClient basic usage
<?php See MongoClient::__construct() and the section on connecting for more information about creating connections. 클래스 개요
MongoClient
{
/* 상수 */
/* 프로퍼티 */
protected
string
$server
=
NULL
;
protected
boolean
$persistent
=
NULL
;/* 메소드 */
public __construct
([ string
}$server = "mongodb://localhost:27017"
[, array $options = array("connect" => TRUE )
[, array $driver_options
]]] )예약 상수MongoClient Constants
Fields
참고
Table of Contents
|