drop() public method

Drops the files and chunks collections
public drop ( ) : array
return array The database response
 protected function tearDown()
 {
     if ($this->legacy) {
         $this->clean($this->workspace);
     } else {
         $this->gridfs->drop();
     }
 }
示例#2
0
 /**
  * drop.
  */
 public function drop()
 {
     $this->time->start();
     $return = parent::drop();
     $time = $this->time->stop();
     $this->log(array('type' => 'drop', 'time' => $time));
     return $return;
 }
 protected function tearDown()
 {
     $this->gridfs->drop();
 }