Add a basic search clause to the query.
public search ( string $field, mixed $value, array $options = [] ) : |
||
$field | string | |
$value | mixed | |
$options | array | - required : requires a match (default) - prohibited : requires a non-match - phrase : match the $value as a phrase - fuzzy : perform a fuzzy search (true, or numeric between 0-1) |
return |