Answers for "orWhereRaw"

PHP
0

orWhereRaw

$orders = DB::table('orders')
                ->whereRaw('price > IF(state = "TX", ?, 100)', [200])
                ->get();
Posted by: Guest on August-12-2021

Browse Popular Code Answers by Language