MongoGridFS::delete

(PECL mongo >=1.0.8)

MongoGridFS::deleteDelete a file from the database

Description

public bool MongoGridFS::delete ( mixed $id )

Parameters

id

_id of the file to remove.

Return Values

Returns if the remove was successfully sent to the database.