laravel-query-builder
laravel-query-builder copied to clipboard
[FEAT] add filter by operator
Dear sir I had been developed out of the box a method for filtering by operator. for the example:
QueryBuilder::for(User::class)
->allowedFilters([
AllowedFilter::operator('salary', FilterOperator::GREATER_THAN),
])
->get();
Note: I realized that there is some old test cases not working.