MongoGridFS::remove

(PECL mongo >=0.9.0)

MongoGridFS::removeRemoves files from the collections

Beskrivelse

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

Parametre

query

The filename or criteria for which to search.

options

Options for the remove. Valid options are:

  • "safe"

    Check that the remove succeeded.

Returnerings Værdier

Returns if the removal was successfully sent to the database.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top