public emptyTable ( $table ) | ||
$table | The table to be emptied |
function emptyTable($table)
{
$f_schema = $this->_schema;
$this->fieldClean($f_schema);
$this->fieldClean($table);
$sql = "DELETE FROM \"{$f_schema}\".\"{$table}\"";
return $this->execute($sql);
}