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