downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

MongoGridFS::storeBytes> <MongoGridFS::findOne
[edit] Last updated: Fri, 18 Sep 2009

view this page in

MongoGridFS::remove

(PECL mongo >=0.9.0)

MongoGridFS::removeRemoves files from the collections

Описание

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

Параметри

query

The filename or criteria for which to search.

just_one

If only one matching file should be removed.

Връщани стойности

Returns if the removal was successful.



add a note add a note User Contributed Notes MongoGridFS::remove
fhagard at lightcube dot us 08-Apr-2010 06:58
To ensure that a remove occurred successfully use MongoDB::lastError(). Currently MongoGridFS::remove will return even if the remove failed.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites