A
используйте другой компонент. или вы про livewire? тогда методом просто передай какой юзать лайоут
Size: a a a
A
B
B
И
public function ProductAttribute()
{
return $this->hasManyThrough(FilterAttribute::class, ProductAttribute::class, 'id', 'product_id', 'id', 'filter_attr_id');
}
🎃
public function ProductAttribute()
{
return $this->hasManyThrough(FilterAttribute::class, ProductAttribute::class, 'id', 'product_id', 'id', 'filter_attr_id');
}
И
Product::where('autor_id', '=', $user_id)->with('ProductAttribute')->toSql();
dd($products);
🎃
Product::where('autor_id', '=', $user_id)->with('ProductAttribute')->toSql();
dd($products);
🎃
🎃
🎃
И
И
🎃
И
И
public function ProductAttribute()
{
return $this->hasManyThrough(FilterAttribute::class, ProductAttribute::class, 'product_id', 'id', 'id', 'filter_attr_id');
}
AV
ДБ
AV
ДБ
ДБ