MongoBinData::__toString
MongoDBRef::create
Mongo
PHP Manual
The MongoDBRef class
Введение
This class can be used to create lightweight links between objects in different collections.
Class synopsis
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
)
}
Содержание
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