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 |
What are the difference between insert() and insertgetid() in laravel?
What permissions are required to be on storage and the bootstrap/cache directories to run laravel?
How to access session data?
What is schema in laravel?
Define implicit controller.
Tell me in which language it was written?
Difference between facades vs. Dependency injection?
Where will you define laravel's facades?
How to use skip() and take() in laravel query?
Where do you regiser service providers?
What is csrf token in laravel?
How to generate application key in laravel?