update
parent
2807c6cfad
commit
5eea26a34c
|
|
@ -30,6 +30,7 @@ use SoftDeletes;
|
|||
return $dataset;
|
||||
});
|
||||
$years = $datasets->pluck('tahun')->toArray();
|
||||
dd($years);
|
||||
$model = self::with('dataset')->whereHas('dataset',function($query) use ($years){
|
||||
$query->whereIn('tahun',$years);
|
||||
})->where('dataset_id',$datasetId)->selectRaw('
|
||||
|
|
|
|||
Loading…
Reference in New Issue