use a select statement to take only the fields you need.
Tickets:select('tickets_table.*, users_table.name as user_name')->join('users_table', 'tickets_table.owner_id', '=', 'users_table.id');
currently there's no way of doing this automatically .
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community