CI_DB_query_builder::where_in()

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

Parameters:
  • $key (string) – Name of field to examine
  • $values (array) – Array of target values
  • $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 ‘AND’ if appropriate.

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

Please login to continue.