Public API to access data of a resource with filters
Is there a way to access the raw data or query of a resource using the advanced filters plugin from the backend without instantiating the livewire components?
The use case for this is: we are going to save some global filters sets (user views) and we want to store in each record to what user views belongs to after executed.
I want to execute the table from a console command with a specific filter, and then update the db.
Solution:Jump to solution
Found a way in case someone is interested:
```php
public function handle()
{...
1 Reply
Solution
Found a way in case someone is interested: