Hey guys I saw many examples about many to many relationships.. most of them use attach() method
so for example if I have Product ,Order Tables with pivot table OrderProduct..
This will normally attach product 1 to order 1..
what about if I have extra fields in OrderProduct for instance " quantity" ?
how can I update it using attach() ?