Welcome Guest, Not a member yet? Register   Sign In
Joining two models with same column names
#2

You should be able to specify aliases in a select() method:
$model->select('cities.name AS city_name')...
Reply


Messages In This Thread
RE: Joining two models with same column names - by MGatner - 04-17-2021, 04:56 AM



Theme © iAndrew 2016 - Forum software by © MyBB