MongoDBRef
MongoDBRef::get
MongoDBRef
PHP Manual

# MongoDBRef::create

(PECL mongo >= 0.9.0)

MongoDBRef::create — Creates a new database reference

### 설명

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

### 인수

`ns`

  Database and collection name.

`id`

  The id of the object to link.

### 반환값

Returns the reference.

### 참고

- MongoDB::createDBRef - Creates a database reference
- MongoCollection::createDBRef - Creates a database reference

MongoDBRef
MongoDBRef::get
MongoDBRef
PHP Manual