CI_DB_query_builder::delete()

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.

doc_CodeIgniter
2016-10-15 16:31:13
Comments
Leave a Comment

Please login to continue.