/**
* Compiles a delete string and runs "DELETE FROM table"
*
* @return bool|string TRUE on success, FALSE on failure, string on testMode
*/
public function emptyTable() { $table =
$this->QBFrom
[0
];
$sql =
$this->
_delete($table);
if ($this->testMode
) { return $sql;
} $this->
resetWrite();
return $this->db->
query($sql, null, false
);
} /**
* Compiles a truncate string and runs the query
* If the database does not support the truncate() command
* This function maps to "DELETE FROM table"
*
* @return bool|string TRUE on success, FALSE on failure, string on testMode
*/