若你已有一個查詢建構器的實例,而你希望在其既存的select 子句中加入一個欄位,你可使用 addSelect 方法: $query = DB::table('users')->select('name'); ...
確定! 回上一頁