MongoGridFS
PHP Manual

MongoGridFS::remove

(PECL mongo >=0.9.0)

MongoGridFS::removeRemoves files from the collections

Beschreibung

public bool MongoGridFS::remove ([ array $criteria = array() [, array $options = array() ]] )

Parameter-Liste

query

The filename or criteria for which to search.

options

Options for the remove. Valid options are:

Rückgabewerte

Returns if the removal was successfully sent to the database.


MongoGridFS
PHP Manual