public function truncate() { $result = $this->connection->{$this->collection}->drop(); if (1 == (int) $result['ok']) { return true; } return false; }