src/QueryParser.php
public function compileJoin(string $condition): string
	{
		$parts = $this->parseJoin($condition);
		$count = count($parts['identifiers']);

		// Go through and quote the identifiers
		for($i=0; $i <= $count; $i++)
		{
			if (in_array($parts['combined'][$i], $parts['identifiers']) && ! is_numeric($parts['combined'][$i]))
			{
				$parts['combined'][$i] = $this->db->quoteIdent($parts['combined'][$i]);
			}
		}

		return implode('', $parts['combined']);
	}
public function compileJoin(string $condition): string
	{
		$parts = $this->parseJoin($condition);
		$count = count($parts['identifiers']);

		// Go through and quote the identifiers
		for($i=0; $i <= $count; $i++)
		{
			if (in_array($parts['combined'][$i], $parts['identifiers']) && ! is_numeric($parts['combined'][$i]))
			{
				$parts['combined'][$i] = $this->db->quoteIdent($parts['combined'][$i]);
			}
		}

		return implode('', $parts['combined']);
	}
public function compileJoin ( string $ condition ) : string { $ parts = $ this -> parseJoin ( $ condition ) ; $ count = count ( $ parts [ 'identifiers' ] ) ; // Go through and quote the identifiers for ( $ i = 0 ; $ i <= $ count ; $ i ++ ) { if ( in_array ( $ parts [ 'combined' ] [ $ i ] , $ parts [ 'identifiers' ] ) && ! is_numeric ( $ parts [ 'combined' ] [ $ i ] ) ) { $ parts [ 'combined' ] [ $ i ] = $ this -> db -> quoteIdent ( $ parts [ 'combined' ] [ $ i ] ) ; } } return implode ( '' , $ parts [ 'combined' ] ) ; }
Compiles a join condition after parsing

@param string $condition
@return string
Compiles a join condition after parsing