public function getDsn() {
		// Handle sqlite
		if ($this->driver === 'sqlite') {
			return "sqlite:$this->schema";
		}

		$opts = [];
		$opts['host'] = $this->host;

		if ($this->schema) {
			$opts['dbname'] = $this->schema;
		}

		$dsnOpts = array_merge([], $this->dsnOpts, $opts);
		return "$this->driver:" . implode(';', Map::zip('=', $dsnOpts));
	}