
orWhereRaw example
orWhereRaw example in php
$orders = DB::table('orders')
->whereRaw('price > IF(state = "TX", ?, 100)', [200])
->get();
orWhereRaw example in php
$orders = DB::table('orders')
->whereRaw('price > IF(state = "TX", ?, 100)', [200])
->get();
Share URL: orwhereraw-example