Sadik B
Well-known member
I see this,
Not sure why the IN operator is excluded. It is useful in many cases when extending a repository. Else we have to use many whereOr conditions which doesn't seem ideal.
PHP:
switch ($operator)
{
case '=':
case '<>':
case '!=':
case '>':
case '>=':
case '<':
case '<=':
case 'LIKE':
case 'NOT LIKE':
case 'BETWEEN':
break;
default:
throw new \InvalidArgumentException("Operator $operator is not valid");
}
Not sure why the IN operator is excluded. It is useful in many cases when extending a repository. Else we have to use many whereOr conditions which doesn't seem ideal.
Upvote
0