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