MongoDBRef
PHP Manual

MongoDBRef::create

(PECL mongo >= 0.9.0)

MongoDBRef::createCreates a new database reference

Описание

public static array MongoDBRef::create ( string $ns , mixed $id )

Список параметров

ns

Database and collection name.

id

The id of the object to link.

Возвращаемые значения

Returns the reference.


MongoDBRef
PHP Manual