🌈 搜索
📅  最后修改于: 2022-03-11 14:53:59.490000             🧑  作者: Mango
$orders = DB::table('orders') ->whereRaw('price > IF(state = "TX", ?, 100)', [200]) ->get();