F
Filament4mo ago
krkmo

Equivalence of getEloquentQuery( ) in Relation Manager

What is the equivalence of the getEloquentQuery( ) method in Relation Manager, I need to get the data from the table according to a clause or condition?
2 Replies
jawaad
jawaad4mo ago
In the table function add this:
->modifyQueryUsing(fn (Builder $query) => $query->query()) // your query
->modifyQueryUsing(fn (Builder $query) => $query->query()) // your query
krkmo
krkmo4mo ago
thanks