Laravel 7 Tutorial in Hindi [Part 17] - Database: Eloquent ORM and Models

Опубликовано: 13 Октябрь 2024
на канале: Tech Gun
3,626
88

In this video i will talk about Eloquent ORM in Laravel.

The Eloquent ORM included with Laravel provides a beautiful, simple ActiveRecord implementation for working with your database. Each database table has a corresponding "Model" which is used to interact with that table. Models allow you to query for data in your tables, as well as insert new records into the table.

Models in Laravel, or in most frameworks, are developed the same way. The difference is that Laravel give us an easy way of building these models, by providing us with general-purpose methods that most models would need - the Eloquent ORM.