method getDatabases documentation in bbn\Db\Languages\Sqlite
Return databases' names as an array.
function()
{
if (!$this->check()) {
return null;
}
$x = [];
$fs = bbn\File\Dir::scan($this->host);
foreach ($fs as $f){
if (is_file($f)) {
$x[] = X::pathinfo($f, PATHINFO_FILENAME);
}
}
sort($x);
return $x;
}
Return databases' names as an array. 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.
© 2011-2023
BBN Solutions