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 inserted.


MongoCollection
PHP Manual