laravel-query-builder icon indicating copy to clipboard operation
laravel-query-builder copied to clipboard

[FEAT] add filter by operator

Open AbdelrahmanBl opened this issue 9 months ago • 9 comments

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.

AbdelrahmanBl avatar May 15 '24 00:05 AbdelrahmanBl