Pages
(Move to ...)
Home
Java
Android
Php
Cake PHP
jQuery
Grails
All Pages
▼
Showing posts with label
DB
.
Show all posts
Showing posts with label
DB
.
Show all posts
Friday, June 30, 2017
Laravel 5: Change Default Database connection Dynamically | Change database name of connection on the fly | How to change default database connection in controller | Multiple DB Connections | Specifying DB connection information dynamically instead of config key | How to Use Multiple Database Connections in Laravel Application
›
use Illuminate\Config\Repository; public function __construct(Repository $config) {} So now you can $config from the above reference. ...
Saturday, February 11, 2017
Laravel join or left join queries AS different name
›
There are many situations where you need to join same table, but must have different names (you can define this as alias). Below is a simpl...
›
Home
View web version