bruno
bruno copied to clipboard
Operators sw,ew uses ILIKE which MySQL does not support
https://github.com/esbenp/bruno/blob/master/src/EloquentBuilderTrait.php#L109
in the Eloquent Builder Trait I added this to solve:
$dbType = Config::get('database.default');
if($dbType == 'postgres'){
$clauseOperator = $not ? 'NOT ILIKE' : 'ILIKE';
} else {
$clauseOperator = $not ? 'NOT LIKE' : 'LIKE';
}
It has been fixed!