Level 104
Yes, you can pass an array of relationship names to with, e.g.
$result = Model::with(['fn1, fn2'])->get();
https://laravel.com/docs/12.x/eloquent-relationships#eager-loading-multiple-relationships
Can a with member function invoke multiple Model's relations, as in:
$result = Model::with('fn1, fn2')->get();
If not, then how to invoke the model's data with all the relationships present?
Yes, you can pass an array of relationship names to with, e.g.
$result = Model::with(['fn1, fn2'])->get();
https://laravel.com/docs/12.x/eloquent-relationships#eager-loading-multiple-relationships
Please or to participate in this conversation.