MongoDBRef
PHP Manual

MongoDBRef::create

(PECL mongo >= 0.9.0)

MongoDBRef::createCreates a new database reference

Descrição

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

Parâmetros

ns

Database and collection name.

id

The id of the object to link.

Valor Retornado

Returns the reference.

Veja Também


MongoDBRef
PHP Manual