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::put
[edit] Last updated: Fri, 25 May 2012

view this page in

MongoGridFS::remove

(PECL mongo >=0.9.0)

MongoGridFS::removeEfface un fichier dans une collection

Description

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

Liste de paramètres

query

Le nom du fichier ou le critère de recherche.

options

Option pour l'effacement. Les options valides sont :

  • "safe"

    Vérifie si l'effacement a réussi.

Valeurs de retour

Retourne TRUE si l'effacement a été correctement envoyé à la base de données.



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

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