method dropDatabase documentation in bbn\Db\Languages\Sqlite

Drops the given database

function(string $database) { if (bbn\Str::checkFilename($database)) { if (empty(strpos($database, '.sqlite'))) { $database = $database.'.sqlite'; } if (file_exists($this->host.$database)) { unlink($this->host.$database); return !file_exists($this->host.$database); } } return false; }

Drops the given database 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.