CI_DB_query_builder::like PHP Method

like() public method

Generates a %LIKE% portion of the query. Separates multiple calls with 'AND'.
public like ( mixed $field, string $match = '', string $side = 'both', boolean $escape = NULL ) : CI_DB_query_builder
$field mixed
$match string
$side string
$escape boolean
return CI_DB_query_builder
    public function like($field, $match = '', $side = 'both', $escape = NULL)
    {
        return $this->_like($field, $match, 'AND ', $side, '', $escape);
    }