MongoDBRef::create
MongoDBRef::isRef
MongoDBRef
PHP Manual

# MongoDBRef::get

(PECL mongo >= 0.9.0)

MongoDBRef::get — Fetches the object pointed to by a reference

### Descripción

public static array MongoDBRef::get ( MongoDB `$db` , array `$ref` )

### Lista de parámetros

`db`

  Database to use.

`ref`

  Reference to fetch.

### Valores retornados

Returns the object or `NULL`.

MongoDBRef::create
MongoDBRef::isRef
MongoDBRef
PHP Manual