public function select($database)
	{
		if (empty($database))
		{
			return false;
		}

		$this->connection->exec('USE ' . $this->quoteName($database));

		$this->database = $database;

		return true;
	}
public function select($database)
	{
		if (empty($database))
		{
			return false;
		}

		$this->connection->exec('USE ' . $this->quoteName($database));

		$this->database = $database;

		return true;
	}
public function select ( $ database ) { if ( empty ( $ database ) ) { return false ; } $ this -> connection -> exec ( 'USE ' . $ this -> quoteName ( $ database ) ) ; $ this -> database = $ database ; return true ; }
Selects a database for use

@param   string  $database  The name of the database to select for use
@return  bool
@since   2.0.0
Selects a database for use