How to work with Database in Laravel ?

Answer Posted / nafees ahmad

Laravel has made processing with database very easy. Laravel currently supports following 4 databases -
1.MySQL
2.Postgres
3.SQLite
4.SQL Server
The query to the database can be fired using raw SQL, the fluent query builder, and the Eloquent ORM.
To understand the all CRUD (Create, Read, Update, Delete) operations with Laravel, we will use simple student management system.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why composer is used in laravel?

515


How to launch vagrant box?

530


What is response in laravel?

525


Do you know laravel eloquent?

525


How to set configuration values in laravel?

514


Explain how to do subdomain routing in laravel?

538


What is route model binding?

529


Where is route in laravel?

525


How do I register a service provider?

486


How to bind a service container to a service provide.

469


Explain how to share sites with external world on valet?

504


What is bootstrap in laravel?

551


Which class is used to handle exceptions?

507


Tell me how do I see all of the routes that are defined?

482


What do you mean by make() method?

531