Paradox/toolbox/DatabaseManager.php
private function getConnection($database = '_system')
    {
        $connection = clone $this->_toolbox->getConnection();
        $connection->setDatabase($database);

        return $connection;
    }
private function getConnection($database = '_system')
    {
        $connection = clone $this->_toolbox->getConnection();
        $connection->setDatabase($database);

        return $connection;
    }
Get a cloned connection with targetting a database.
@param  string                        $database The optional name of the database. Defaults to _system.
@return \triagens\ArangoDb\Connection