public function getDatabase($name = null)
    {
        $name = $name ? $name : $this->config['db'];
        return new Database(
            $this->getManageClient(),
            $name
        );
    }
public function getDatabase($name = null)
    {
        $name = $name ? $name : $this->config['db'];
        return new Database(
            $this->getManageClient(),
            $name
        );
    }
public function getDatabase ( $ name = null ) { $ name = $ name ? $ name : $ this -> config [ 'db' ] ; return new Database ( $ this -> getManageClient ( ) , $ name ) ; }
Return a Database object.

@return Database
Return a Database object .