(PECL mongo >=0.9.0)
MongoDB::createDBRef — Creates a database reference
Beschreibung
public array MongoDB::createDBRef
(
mixed $ns
,
mixed $a
)
Parameter-Liste
-
ns
-
The collection to which the database reference will point.
-
a
-
Object or _id to which to create a reference.
Rückgabewerte
Returns a database reference array.