Open sidebar
<?php class Model extends \Eloquent { protected $connection = 'diger_vt'; public function newQuery() { return parent::newQuery()->on($this->connection); } }
Close sidebar
Back
Please note that all pasted data is publicly available.
Twitter
GitHub
Use setting
Back
Please note that all pasted data is publicly available.
Twitter
GitHub
Use setting