CI_DB_query_builder::or_where_in()

or_where_in([$key = NULL[, $values = NULL[, $escape = NULL]]])

Parameters:
  • $key (string) – The field to search
  • $values (array) – The values searched on
  • $escape (bool) – Whether to escape values and identifiers
Returns:

DB_query_builder instance

Return type:

object

Generates a WHERE field IN(‘item’, ‘item’) SQL query, joined with ‘OR’ if appropriate.

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

Please login to continue.