F
Filament9mo 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
jawaad9mo ago
In the table function add this:
->modifyQueryUsing(fn (Builder $query) => $query->query()) // your query
->modifyQueryUsing(fn (Builder $query) => $query->query()) // your query
krkmo
krkmoOP9mo ago
thanks
Want results from more Discord servers?
Add your server