MongoGridFS::remove

(PECL mongo >=0.9.0)

MongoGridFS::removeRemoves files from the collections

Description

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

Parameters

query

The filename or criteria for which to search.

options

Options for the remove. Valid options are:

  • "safe"

    Check that the remove succeeded.

Return Values

Returns if the removal was successfully sent to the database.


Copyright © 2010-2024 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout