MongoCollection::remove
MongoCollection::__toString
MongoCollection
PHP Manual

# MongoCollection::save

(PECL mongo >=0.9.0)

MongoCollection::save — Saves an object to this collection

### Descripción

public boolean MongoCollection::save ( array `$a` )

If the object is from the database, update the existing database object, otherwise insert this object.

### Lista de parámetros

`a`

  Array to save.

### Valores retornados

Returns if the object was saved.

MongoCollection::remove
MongoCollection::__toString
MongoCollection
PHP Manual