Now, there is only the = operator, why not add the rest like !=, >, >=, <, <=, TO, EXISTS, IN, NOT, AND, or OR, I wrote a custom classes for meilisearch engine and everything is works fine there , I don't understand why not add these operators?
i did something like this
class Builder extends \Laravel\Scout\Builder
{
public function where($field, $operator = '=', $value = null)
{
$this->wheres[$field] = [
'operator' => $operator,
'value' => $value
];
return $this;
}
}
Now, there is only the = operator, why not add the rest like !=, >, >=, <, <=, TO, EXISTS, IN, NOT, AND, or OR, I wrote a custom classes for meilisearch engine and everything is works fine there , I don't understand why not add these operators? i did something like this
now it works fine like this
or like this