src/Core/Db/Expression/Builder/JoinBuilder.php
private function _prepareJoinCondition(array $condition)
	{
		if(count($condition) === 1)
		{
			return $this->condition = '(' . $condition[0]->getColumnName() . ')';
		}

		return $this->condition =
			$condition[0]->getTableName() . '.' . $condition[0]->getColumnName() . ' = ' . $condition[1]->getTableName()
			. '.' . $condition[1]->getColumnName();
	}
private function _prepareJoinCondition(array $condition)
	{
		if(count($condition) === 1)
		{
			return $this->condition = '(' . $condition[0]->getColumnName() . ')';
		}

		return $this->condition =
			$condition[0]->getTableName() . '.' . $condition[0]->getColumnName() . ' = ' . $condition[1]->getTableName()
			. '.' . $condition[1]->getColumnName();
	}
private function _prepareJoinCondition ( array $ condition ) { if ( count ( $ condition ) === 1 ) { return $ this -> condition = '(' . $ condition [ 0 ] -> getColumnName ( ) . ')' ; } return $ this -> condition = $ condition [ 0 ] -> getTableName ( ) . '.' . $ condition [ 0 ] -> getColumnName ( ) . ' = ' . $ condition [ 1 ] -> getTableName ( ) . '.' . $ condition [ 1 ] -> getColumnName ( ) ; }
Validate the columns array to a string.

@param ColumnInterface[] $condition

@return string
Validate the columns array to a string .