MongoDB
PHP Manual

MongoDB::createDBRef

(PECL mongo >=0.9.0)

MongoDB::createDBRefCreates a database reference

설명

public array MongoDB::createDBRef ( mixed $ns , mixed $a )

인수

ns

The collection to which the database reference will point.

a

Object or _id to which to create a reference.

반환값

Returns a database reference array.


MongoDB
PHP Manual