MongoCollection
PHP Manual

MongoCollection::insert

(PECL mongo >=0.9.0)

MongoCollection::insertInserts an array into the collection

Beschreibung

public boolean MongoCollection::insert ( array $a )

Parameter-Liste

a

An array.

Rückgabewerte

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


MongoCollection
PHP Manual