How to work with Database in Laravel ?



How to work with Database in Laravel ?..

Answer / 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

More Laravel PHP Framework Interview Questions

What is slug in laravel?

0 Answers  


What is valet?

0 Answers  


What are the databases laravel supports?

0 Answers  


Why middleware is used in laravel?

0 Answers  


What is csrf protection?

0 Answers  


What does valet park?

0 Answers  


Does laravel support php 7?

0 Answers  


How to get current environment in laravel 5?

0 Answers  


What service provider’s register method does?

0 Answers  


Is it easy to learn laravel?

0 Answers  


Which class is used to handle exceptions?

0 Answers  


What version of laravel do you generally use?

0 Answers  


Categories