method createDatabase documentation in bbn\Db\Languages\Sqlite

Creates a database

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

Creates a 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.