CI_DB_query_builder::or_where()

or_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 ‘OR’.

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

Please login to continue.