MongoDBRef
MongoDBRef::get
MongoDBRef
PHP Manual

# MongoDBRef::create

(PECL mongo >= 0.9.0)

MongoDBRef::create — Creates a new database reference

### Descripción

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

### Lista de parámetros

`ns`

  Database and collection name.

`id`

  The id of the object to link.

### Valores retornados

Returns the reference.

MongoDBRef
MongoDBRef::get
MongoDBRef
PHP Manual