where('user_id', Auth::id()) ->whereRaw('isnull(progress, 0) < 1') ->get(); $ret['total'] = sizeof($rows); $ret['data'] = $rows; return $ret; } }