method dropDatabase documentation in bbn\Db\Languages\Mysql

Drops the given database

function(string $database) { if ($this->check()) { if (!Str::checkName($database)) { throw new Exception(X::_("Wrong database name") . " $database"); } try { $this->rawQuery("DROP DATABASE `$database`"); } catch (Exception $e) { return false; } } return $this->check(); }

Drops the given database BBN is a suite of PHP and JS libraries and VueJS components - all open-source!, build applications, the quick way

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