привет, если я не ошибаюсь, то тебе вернется массив country внутри user, и тебе надо из него забирать нэйм, типа такова $car->user->country->country_name
Illuminate\Database\QueryException SQLSTATE[42S22]: Column not found: 1054 Unknown column 'countries.user_id' in 'where clause' (SQL: select * from countries where countries.user_id = 6 and countries.user_id is not null limit
Illuminate\Database\QueryException SQLSTATE[42S22]: Column not found: 1054 Unknown column 'countries.user_id' in 'where clause' (SQL: select * from countries where countries.user_id = 6 and countries.user_id is not null limit
привет, если я не ошибаюсь, то тебе вернется массив country внутри user, и тебе надо из него забирать нэйм, типа такова $car->user->country->country_name