CI_DB_query_builder::set()

set($key[, $value = ''[, $escape = NULL]])

Parameters:
  • $key (mixed) – Field name, or an array of field/value pairs
  • $value (string) – Field value, if $key is a single field
  • $escape (bool) – Whether to escape values and identifiers
Returns:

CI_DB_query_builder instance (method chaining)

Return type:

CI_DB_query_builder

Adds field/value pairs to be passed later to insert(), update() or replace().

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

Please login to continue.