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::removeファイルをコレクションから削除する

説明

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

パラメータ

query

探したいファイル名あるいは条件。

options

削除時のオプション。以下のオプションが使えます。

  • "safe"

    削除に成功したかどうかをチェックします。

返り値

削除がデータベースに正しく送信されたかどうかを返します。



add a note add a note User Contributed Notes MongoGridFS::remove
fhagard at lightcube dot us 08-Apr-2010 03: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