(PECL mongo >=0.9.0)
MongoGridFS::remove — Removes files from the collections
$criteria
= array()
[, array $options
= array()
]] )
query
The filename or criteria for which to search.
options
Options for the remove. Valid options are:
"w"
Смотрите WriteConcerns. Значение по умолчанию для MongoClient является 1.
Returns if the removal was successfully sent to the database.