protected function compileJoinPart(Query $query, array &$bindings): string
    {
        $joinsSQL = [];

        foreach ($query->join as $join) {
            $joinsSQL[] = $this->compileOneJoin($join, $bindings);
        }

        return $this->implodeSQL($joinsSQL);
    }
protected function compileJoinPart(Query $query, array &$bindings): string
    {
        $joinsSQL = [];

        foreach ($query->join as $join) {
            $joinsSQL[] = $this->compileOneJoin($join, $bindings);
        }

        return $this->implodeSQL($joinsSQL);
    }
protected function compileJoinPart ( Query $ query , array & $ bindings ) : string { $ joinsSQL = [ ] ; foreach ( $ query -> join as $ join ) { $ joinsSQL [ ] = $ this -> compileOneJoin ( $ join , $ bindings ) ; } return $ this -> implodeSQL ( $ joinsSQL ) ; }
Compiles a JOIN parts of an SQL query.

@param Query $query Query data
@param array $bindings Bound values (array is filled by link)
@return string SQL text
@throws InvalidQueryException
Compiles a JOIN parts of an SQL query .