CI_DB_query_builder::where_in PHP Méthode

where_in() public méthode

Generates a WHERE field IN('item', 'item') SQL query, joined with 'AND' if appropriate.
public where_in ( string $key = NULL, array $values = NULL, boolean $escape = NULL ) : CI_DB_query_builder
$key string The field to search
$values array The values searched on
$escape boolean
Résultat CI_DB_query_builder
    public function where_in($key = NULL, $values = NULL, $escape = NULL)
    {
        return $this->_where_in($key, $values, FALSE, 'AND ', $escape);
    }