MongoGridFS
PHP Manual

MongoGridFS::delete

(PECL mongo >=1.0.8)

MongoGridFS::deleteDelete a file from the database

説明

public boolean MongoGridFS::delete ( mixed $id )

パラメータ

id

_id of the file to remove.

返り値

Returns if the remove was successfully sent to the database.


MongoGridFS
PHP Manual