src/DatabaseConnection.php
public function connectTo($schema) {
		$info = clone $this->getInfo();
		$info->setSchema($schema);
		return new DatabaseConnection($info);
	}
public function connectTo($schema) {
		$info = clone $this->getInfo();
		$info->setSchema($schema);
		return new DatabaseConnection($info);
	}
public function connectTo ( $ schema ) { $ info = clone $ this -> getInfo ( ) ; $ info -> setSchema ( $ schema ) ; return new DatabaseConnection ( $ info ) ; }
Create a new database connection to the given schema using the same
credentials and options as the current connection. The current connection
is not closed.

@param string $schema
Create a new database connection to the given schema using the same credentials and options as the current connection . The current connection is not closed .