What do you mean by Eloquent used in Laravel 5?
An ORM stands for the object-relational mapper. It is essential features provided by Laravel Framework. It allows us to work with database objects and relationships using an eloquent. Each table has a particular Model which are used to interact with that particular table in laravel application.
There are various types of relationships.
- One To One relationships
- One To Many relationships
- Many To Many relationships
- Has Many Through relationships
- Polymorphic relationships
- Many To Many Polymorphic relationships