MongoDBRef::create
MongoDBRef::isRef
MongoDBRef
PHP Manual

# MongoDBRef::get

(PECL mongo >= 0.9.0)

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

### 설명

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

### 인수

`db`

  Database to use.

`ref`

  Reference to fetch.

### 반환값

Returns the object or `NULL`.

### 참고

- MongoDB::getDBRef - Fetches the document pointed to by a database reference
- MongoCollection::getDBRef - Fetches the document pointed to by a database reference

MongoDBRef::create
MongoDBRef::isRef
MongoDBRef
PHP Manual