ilyosjon
ilyosjon
FFilament
Created by ilyosjon on 12/5/2023 in #❓┊help
Using DB facade inside a Table Widget
I refactored the query around the main Model. This way table widget rendered the result without any problems. So you need to write that complex query around the most important model 😅
6 replies
FFilament
Created by ilyosjon on 12/5/2023 in #❓┊help
Using DB facade inside a Table Widget
What I am trying is to aggregate values from different tables as statistics and show them in a Table widget. Since data is not bound to any model I was using DB facade but it turns out that Table widget only accepts Eloquent Builder object.
6 replies