update
parent
5eea26a34c
commit
83e7254c6e
|
|
@ -30,7 +30,6 @@ 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