Connection::truncate
public function Connection::truncate
public Connection::truncate($table, array $options = array())
Prepares and returns a TRUNCATE query object.
Parameters
string $table: The table to use for the truncate statement.
array $options: (optional) An array of options on the query.
Return value
\Drupal\Core\Database\Query\Truncate A new Truncate query object.