Q: Combine Laravel ORM with() and select() methods I have Player and Payment models. in payments table there is "player_id" column. 
I want to select specific attributes of Player + Payment relation. In other words I want to combine this 2 queries.
 1. User::where(/* some condition */)->with('payment')->get();
 2. User::where(/* some condition */)->select([/* some attributes */])->get();

But if I try
User::where(/* some condition */)->select([/* some attributes */])->with('payment')->get();

returned model's relations array is empty.

A: Can you try this -
`User::where(/* some condition */)->select([/* some attributes of user */])->with(['payment' => function ($q) {
    return $q->select(/* some attributes payment */)
}])->get();`


A: A bit tricky, but should works
User::where(/* some condition */)->select([/* some attributes */])->get()->load('payment');

