MongoDBRef
PHP Manual

MongoDBRef::create

(PECL mongo >= 0.9.0)

MongoDBRef::createCreates a new database reference

Beschreibung

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

Parameter-Liste

ns

Database and collection name.

id

The id of the object to link.

Rückgabewerte

Returns the reference.

Siehe auch


MongoDBRef
PHP Manual