method change documentation in bbn\Db

Changes the database used to the given one.

Example

$db = new Db(); X::dump($db->change('db_example')); // (db) function(string $db) { $this->language->change($db); return $this; }

Changes the database used to the given one. BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.