like($field[, $match = ''[, $side = 'both'[, $escape = NULL]]])
Parameters:
$field (string) – Field name
$match (string) – Text portion to match
$side (string) – Which side of the expression to put the ‘%’ wildcard on
$escape (bool) – Whether to escape values and identifiers Returns:
CI_DB_query_builder instance (method chaining) Return type:
CI_DB_query_builder
Adds a LIKE clause to a query, separating multiple calls with AND.