protected function getDatabaseList($database)
    {
        $databases = $database;

        if( is_array(($database[0] ?? NULL)) )
        {
            $databases = $database[0];
        }

        if( empty($database) )
        {
            $databases = $this->tool->listDatabases();
        }

        return $databases;
    }
protected function getDatabaseList($database)
    {
        $databases = $database;

        if( is_array(($database[0] ?? NULL)) )
        {
            $databases = $database[0];
        }

        if( empty($database) )
        {
            $databases = $this->tool->listDatabases();
        }

        return $databases;
    }
protected function getDatabaseList ( $ database ) { $ databases = $ database ; if ( is_array ( ( $ database [ 0 ] ?? NULL ) ) ) { $ databases = $ database [ 0 ] ; } if ( empty ( $ database ) ) { $ databases = $ this -> tool -> listDatabases ( ) ; } return $ databases ; }
Protected get database list
Protected get database list