Рет қаралды 13,714
"many-to-many" polymorphic relations are slightly more complicated than "one-to-one" `morphOne and "one-to-many" 'morphMany' polymorphic relationships. In this lesson, we'll construct a standard many-to-many relationship: a Post and Video model could share a polymorphic relation to a Tag model.
In this video, you will learn,
✔ morphToMany and
✔ morphedByMany
𝐋𝐚𝐫𝐚𝐯𝐞𝐥 𝐄𝐥𝐨𝐪𝐮𝐞𝐧𝐭 𝐑𝐞𝐥𝐚𝐭𝐢𝐨𝐧𝐬𝐡𝐢𝐩𝐬 𝐏𝐥𝐚𝐲𝐥𝐢𝐬𝐭
• Laravel Eloquent Relat...
Also, follow us on:
𝐅𝐚𝐜𝐞𝐛𝐨𝐨𝐤: qirolab
𝐓𝐰𝐢𝐭𝐭𝐞𝐫: / qirolab