MongoCollection
PHP Manual

MongoCollection::insert

(PECL mongo >=0.9.0)

MongoCollection::insertInserts an array into the collection

설명

public boolean MongoCollection::insert ( array $a )

인수

a

An array.

반환값

Returns if the array was not empty (an empty array will not be inserted).


MongoCollection
PHP Manual