CI_DB_query_builder::update()

update([$table = ''[, $set = NULL[, $where = NULL[, $limit = NULL]]]])

Parameters:
  • $table (string) – Table name
  • $set (array) – An associative array of field/value pairs
  • $where (string) – The WHERE clause
  • $limit (int) – The LIMIT clause
Returns:

TRUE on success, FALSE on failure

Return type:

bool

Compiles and executes an UPDATE statement.

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

Please login to continue.