CI_DB_query_builder::where()

where($key[, $value = NULL[, $escape = NULL]])

Parameters:
  • $key (mixed) – Name of field to compare, or associative array
  • $value (mixed) – If a single key, compared to this value
  • $escape (bool) – Whether to escape values and identifiers
Returns:

DB_query_builder instance

Return type:

object

Generates the WHERE portion of the query. Separates multiple calls with ‘AND’.

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

Please login to continue.