I\'m using this query to get data using relation
return Product::with(\'attributes\') ->whereHas(\'attributes\', function ($query) use ($attribute