->select('users.id as users_id, contacts.id as contacts_id, users.name as users_name')
and just keep adding the columns with table prefix
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community