MongoGridFS
PHP 手册

MongoGridFS::delete

(PECL mongo >=1.0.8)

MongoGridFS::deleteDelete a file from the database

说明

public bool MongoGridFS::delete ( mixed $id )

参数

id

_id of the file to remove.

返回值

Returns if the remove was successfully sent to the database.


MongoGridFS
PHP 手册