Laravel Community Tools by Tighten

Tag "database" tricks

87 tricks
Laravel in create common function
Darshan Ma... 10 years ago 7252
Route file with angular js
Darshan Ma... 10 years ago 5817
Js COntroller Insert update delete..
Darshan Ma... 10 years ago 7295
insert update delete UserController.php
Darshan Ma... 10 years ago 7650
Laravel in insert udpate record..
Darshan Ma... 10 years ago 7948
Laravel deleter record in db
Darshan Ma... 10 years ago 6115
This is usefull for migrations when you can't rollback. Can easily be run in artisan mode or you can create a console command.
naneri 10 years ago 14542
If you want to use(or work with) another database in a section of your project use following steps... step 1. Create another connection in config/database.php step 2. Insert new connection info in .env file... step 3. Tell to laravel to use this new connection
tuytoosh 10 years ago 7221
Don't forget to add the `DATABASE_QUERIES_DEBUG` in the .env file. Call this function `$this->debugDatabaseQueries()` from any service provider `register` function:
Mahmoudz 10 years ago 7232