Create a customized query for custom table component in livewire

I have used the filament table in my livewire but i want to customize the query
return $table
->query(Customer::query())
return $table
->query(Customer::query())
3 Replies
Flu
Flu9mo ago
how would you like to customise it
awcodes
awcodes9mo ago
->modifyQueryUsing() maybe. Not sure of the actual method name.
codeartisan
codeartisanOP9mo ago
I was able to find a solution
->query(Customer::query()->where('id, $this->id)
->query(Customer::query()->where('id, $this->id)
Want results from more Discord servers?
Add your server