F
Filament14mo ago
ffffer.

Query Builder stored in DB

Query Builder is great for filtering users depending on the many options it has, but I would like to be able to store that filter logic applied so I can run it in laravel every time I launch a script for example. Let's say I want to define the filters, store them in the db, and then use them in laravel from time to time (obviously if stored filters are called after a while, the results will be different, so I don't want to store the results) Any ideas?
4 Replies
ffffer.
ffffer.OP14mo ago
Suggestions?
saineshmamgain
I did something like this using the RuleBuilder class.
Lara Zeus
Lara Zeus2d ago
maybe #kenneth-sese-advanced-tables
Sydd
Sydd22h ago
I think the better solution is store data in cache (instead of builder)

Did you find this page helpful?