File path: dist/twist/Core/Models/Database/Table.model.php
Namespace: Twist\Core\Models\Database
truncate
— Truncate the table in your database, this command will only work if your database user has the TRUNCATE privilege or above.
void — No return information has been documented for this function.
<?php
//Call the function truncate with the example vars
$resTable = new \Twist\Core\Models\Database\Table();
$resTable -> truncate();