Update many to many relationship in Laravel
I was working on an e-commerce application where I have to attach attributes [ colors - sizes ] to products,
so I decided to have a pivot table between the attributes table and the products table like so :
class Attribute extends Model
{
use Has...
elghazali.hashnode.dev2 min read