Answers for "case inside laravel query"

PHP
0

case inside laravel query

DB::table('ref')->select(['id','name',DB::raw('(case when (id > 17) then "yes" else "no" end) as present')])->get();
Posted by: Guest on August-13-2021

Code answers related to "case inside laravel query"

Browse Popular Code Answers by Language