MongoGridFS::remove

(PECL mongo >=0.9.0)

MongoGridFS::removeRemoves files from the collections

Описание

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

Список параметров

query

The filename or criteria for which to search.

options

Options for the remove. Valid options are:

Возвращаемые значения

Returns if the removal was successfully sent to the database.

Коментарии

To ensure that a remove occurred successfully use MongoDB::lastError(). Currently MongoGridFS::remove will return even if the remove failed.
2010-04-08 09:58:49
http://php5.kiev.ua/manual/ru/mongogridfs.remove.html

    Поддержать сайт на родительском проекте КГБ