src/Drivers/AbstractDriver.php
public function truncate(string $table): PDOStatement
	{
		$sql = $this->hasTruncate
			? 'TRUNCATE TABLE '
			: 'DELETE FROM ';

		$sql .= $this->quoteTable($table);

		$this->statement = $this->query($sql);
		return $this->statement;
	}
public function truncate(string $table): PDOStatement
	{
		$sql = $this->hasTruncate
			? 'TRUNCATE TABLE '
			: 'DELETE FROM ';

		$sql .= $this->quoteTable($table);

		$this->statement = $this->query($sql);
		return $this->statement;
	}
public function truncate ( string $ table ) : PDOStatement { $ sql = $ this -> hasTruncate ? 'TRUNCATE TABLE ' : 'DELETE FROM ' ; $ sql .= $ this -> quoteTable ( $ table ) ; $ this -> statement = $ this -> query ( $ sql ) ; return $ this -> statement ; }
Empty the passed table

@param string $table
@return PDOStatement
Empty the passed table