🌈 搜索
📅  最后修改于: 2022-03-11 14:54:32.595000             🧑  作者: Mango
DB::table('ref')->select(['id','name',DB::raw('(case when (id > 17) then "yes" else "no" end) as present')])->get();