In my table's getEloquentQuery() method should I eager load relations?
I know if I use the dot notation like
TextColumn::make('game.id')
it will automatically eager load, but if I do this:
with the details relation, should I eager load the details
relation in the tables getEloquentQuery() method? Should this be a common practice?Solution:Jump to solution
should I eager load the details relation in the tables getEloquentQuery() method?Yes.
Should this be a common practice?Yes....
2 Replies