| 
 
update : 2015.11.03
 
php.shukuma.com검색:
  
 | 
MongoGridFS::remove(PECL mongo >=0.9.0) MongoGridFS::remove — Remove files and their chunks from the database 설명
   public bool|array MongoGridFS::remove
    ([ array  
 $criteria = array()
   [, array $options = array()
  ]] )인수
 
 반환값
   Returns an array containing the status of the removal (with respect to the
   files collection) if the "w" option is
   set. Otherwise, returns  Fields in the status array are described in the documentation for MongoCollection::insert(). 오류/예외Throws MongoCursorException if the "w" option is set and the write fails. Throws MongoCursorTimeoutException if the "w" option is set to a value greater than one and the operation takes longer than MongoCursor::$timeout milliseconds to complete. This does not kill the operation on the server, it is a client-side timeout. The operation in MongoCollection::$wtimeout is milliseconds.  |