method change documentation in bbn\Db\Languages\Sql

Changes the current database to the given one.

function(string $db) { if (($this->getCurrent() !== $db) && Str::checkName($db)) { $this->rawQuery("USE `$db`"); $this->current = $db; return true; } return false; }

Changes the current database 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.