delete([$table = ''[, $where = ''[, $limit = NULL[, $reset_data = TRUE]]]])
Parameters:
$table (mixed) – The table(s) to delete from; string or array
$where (string) – The WHERE clause
$limit (int) – The LIMIT clause
$reset_data (bool) – TRUE to reset the query “write” clause Returns:
CI_DB_query_builder instance (method chaining) or FALSE on failure Return type:
mixed
Compiles and executes a DELETE query.