Add where clause to the query for search by phrase.
public where ( string $field, mixed $value, array $options = [] ) | ||
$field | string | |
$value | mixed | |
$options | array | - field : field name - value : value to match - required : should match (boolean, true by default) - prohibited : should not match (boolean, false by default) - phrase : phrase match (boolean, true by default) - proximity : value of distance between words (unsigned integer) * - fuzzy : value of fuzzy(float, 0 ... 1) |