Open AbdelrahmanBl opened 3 months ago
@AbdelrahmanBl is it possible to pass the operator through query parameters?
It's really a great idea! Now you can search by a dynamic filter operator. for the example:
// users?filter[salary]=>=1000,<=3000
QueryBuilder::for(User::class)
->allowedFilters([
AllowedFilter::operator('salary', FilterOperator::DYNAMIC),
])
->get();
@freekmurze
Hello sir! How are you? Can you check this feature? @freekmurze
Hello sir! How are you? Can you check this feature? @freekmurze
@AbdelrahmanBl Please stop deleting your previous comment and @ people. No doubt they're busy and they'll get to it when they get to it.
Thank you for your response 🙏 and i won't contribute with spatie anymore for not annoying them.
I'm not from Spatie, just someone whose inbox you were spamming. Repeatedly @ing anyone isn't productive be it Spatie or anyone else.
I'd subscribed to the thread because i'm interested in the feature as I'm sure others are too. Closing it because someone suggest you be patient seems overkill, but it is your PR to do what you will with.
I thought you were from spatie and no problem i will reopen it to benefit the others 😊
@freekmurze kindly check this commit!
Dear sir I had been developed out of the box a method for filtering by operator. for the example: