Learn about pivot tables and many-to-many relationships
Published on by Eric L. Barnes
Laravel Daily has a new post on pivot tables and many-to-many relationships:
I want to talk about a feature of Laravel which is really useful but can be potentially difficult to understand at first. A pivot table is an example of intermediate table with relationships between two other “main” tables.
This is a feature that is, indeed, a little hard to figure in the beginning. Another great resource covering relationships is Dayle’s Code Bright post.
Eric is the creator of Laravel News and has been covering Laravel since 2012.