/** * Get DeleteQuery builder with pre-populated table name. This is NOT table delete method, use * schema()->drop() for this purposes. If you want to remove all records from table use * Table->truncate() method. Call ->run() to perform query. * * @param array $where Initial set of where rules specified as array. * @return DeleteQuery */ public function delete(array $where = []) { return $this->database->delete($this->name, $where); }