i try
but this show error
how to use REGEXP with xenforo 2 finder system
Code:
$Finder->where('myfield', 'REGEXP', $n);
[B]InvalidArgumentException:[/B] Operator REGEXP is not valid
Code:
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");
}
Last edited: