MongoBinData::__toString
MongoDBRef::create
Mongo
PHP Manual
The MongoDBRef class
소개
This class can be used to create lightweight links between objects in different collections.
클래스 개요
MongoDBRef
MongoDBRef
{
/* Methods */
public
static
array
create
(
string
$ns
,
mixed
$id
)
public
static
array
get
(
MongoDB
$db
,
array
$ref
)
public
static
boolean
isRef
(
array
$ref
)
}
Table of Contents
MongoDBRef::create
— Creates a new database reference
MongoDBRef::get
— Fetches the object pointed to by a reference
MongoDBRef::isRef
— Checks if an array is a database reference
MongoBinData::__toString
MongoDBRef::create
Mongo
PHP Manual