public function buildJoin()
	{
		$joins = [];

		foreach ($this->join as $join)
		{
			if (isset($join['raw']))
			{
				$joins[] = strtoupper($join['type']) . ' JOIN ' . $join['table'] . ' ON ' . $join['raw'];
			}
			else
			{
				$joins[] = strtoupper($join['type']) . ' JOIN ' . $join['table'] . ' ON ' . $join['left'] . ' = ' . $join['right'];
			}
		}

		return implode("\n", $joins);
	}
public function buildJoin()
	{
		$joins = [];

		foreach ($this->join as $join)
		{
			if (isset($join['raw']))
			{
				$joins[] = strtoupper($join['type']) . ' JOIN ' . $join['table'] . ' ON ' . $join['raw'];
			}
			else
			{
				$joins[] = strtoupper($join['type']) . ' JOIN ' . $join['table'] . ' ON ' . $join['left'] . ' = ' . $join['right'];
			}
		}

		return implode("\n", $joins);
	}
public function buildJoin ( ) { $ joins = [ ] ; foreach ( $ this -> join as $ join ) { if ( isset ( $ join [ 'raw' ] ) ) { $ joins [ ] = strtoupper ( $ join [ 'type' ] ) . ' JOIN ' . $ join [ 'table' ] . ' ON ' . $ join [ 'raw' ] ; } else { $ joins [ ] = strtoupper ( $ join [ 'type' ] ) . ' JOIN ' . $ join [ 'table' ] . ' ON ' . $ join [ 'left' ] . ' = ' . $ join [ 'right' ] ; } } return implode ( "\n" , $ joins ) ; }
Builds a join statement from the set params

@return  string
@since   2.0.0
Builds a join statement from the set params