PHP Portal » PHP Handbuch » MongoGridFS::remove

Werbung

MongoGridFS::remove


(PECL mongo >=0.9.0)

MongoGridFS::removeRemoves files from the collections

Beschreibung

public boolean MongoGridFS::remove ([ array $criteria = array() [, boolean $just_one = FALSE ]] )

Parameter-Liste

query

The filename or criteria for which to search.

just_one

If only one matching file should be removed.

Rückgabewerte

Returns if the removal was successful.