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

search for in the

MongoGridFS::storeBytes> <MongoGridFS::put
[edit] Last updated: Fri, 17 May 2013

view this page in

MongoGridFS::remove

(PECL mongo >=0.9.0)

MongoGridFS::removeRemoves files from the collections

Description

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

Parameters

query

The filename or criteria for which to search.

options

Options for the remove. Valid options are:

Return Values

Returns if the removal was successfully sent to the database.



add a note add a note User Contributed Notes MongoGridFS::remove - [1 notes]
up
0
fhagard at lightcube dot us
3 years ago
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