/** * Build the TRUNCATE query. * * @param \Titon\Db\Query $query * @return string */ public function buildTruncate(Query $query) { return $this->renderStatement(Query::TRUNCATE, ['table' => $this->formatTable($query->getTable())] + $this->formatAttributes($query->getAttributes())); }