getEloquentQuery() in the RelationManager

I don't think that when a resource is being queried through a RelationManager, it the query via:
getEloquentQuery
getEloquentQuery
I've tried placing the same method in the ResourceRelationsManager to no avail. Any ideas?
Solution:
This will work. ```return $table ->modifyQueryUsing(fn (Builder $query) => $query->where('is_active', true)) ->columns([ // ... ]);...
Jump to solution
3 Replies
Solution
ddoddsr
ddoddsr3mo ago
This will work. ```return $table ->modifyQueryUsing(fn (Builder $query) => $query->where('is_active', true)) ->columns([ // ... ]);
Matthew
MatthewOP3mo ago
Thanks.
Want results from more Discord servers?
Add your server