روابط Eloquent
Eloquent Relationships
Eloquent makes the process of interacting with your database tables as natural and intuitive as possible. It's vital that you recognize and understand six key relationship types. Let's review them all - one episode per relationship.
قسمتهای دوره
یک به یک
11m 42sLearn how to master one-to-one Eloquent relationships in Laravel by connecting users with profiles, addresses, or avatars through clear, practical examples.
یک به چند
11m 5sMaster one-to-many Eloquent relationships in Laravel by learning how users can own multiple posts, projects, or tasks with clear, practical examples.
چند به چند
19m 6sLearn how to master many-to-many relationships in Laravel using posts and tags. Simplify complex data connections with clear, practical examples!
دارای چند از طریق (Has Many Through)
9m 5sUse Eloquent's hasManyThrough to query distant records effortlessly, and learn when to model long-distance associations.
روابط چندریختی
14m 30sUnderstand Eloquent polymorphic relations: let models belong to multiple types via a single association with clear, practical examples.
روابط چندریختی چند به چند
20m 17sMaster Eloquent many-to-many polymorphic relations: model likes for posts and comments with clear examples and practical refactors.




