laravel select count
Laravel 2021-12-19
$jml = DB::table("kriteria_bansos")
->where('jenis_bansos_id', '=', $jenis_bansos_id)
->count();
$q = DB::select("SELECT MAX(RIGHT(no_bukti,4)) AS kd_max FROM jurnal_umum where SUBSTR(no_bukti,1,3)='INV'");
dd(count($q));