标签: eloquent
我有这个Eloquent查询:
User::select([ 'users.name AS name', 'order.name AS name' ]) ->leftJoin( 'orders', 'users.id', '=', 'users.order_id') ->get()->toArray();
我需要在将表传递给leftJoin