$result = \DB::select();
$db = \DB::instance('database_1234');
$result = $db->select();
56 if ( ! $writable and ($readonly = \Config::get('db.'.$name.'.readonly', false)))
57 {
58 ! isset(static::$_readonly[$name]) and static::$_readonly[$name] = \Arr::get($readonly, array_rand($readonly));
59 $name = static::$_readonly[$name];
60 }
It looks like you're new here. If you want to get involved, click one of these buttons!