how make this query in filament php?
Hi how i can replicate this query in filament php?
and show it in a table
Solution:Jump to solution
Relationships are Laravel level. You need to understand Eloquent the ORM of Laravel
4 Replies
i already got some regular columns added:
You can't skip from database to filament without understanding laravel.
You need to create the right relationships within you parent table model to be able to have filamnet grab this sort of data.
The rough and ready sidestep to this, is if you only need to read the table, and you understand SQL views, then you can do it that way.
by creating relationship you mean at sql level or laravel level
Solution
Relationships are Laravel level. You need to understand Eloquent the ORM of Laravel