protected function compileOneJoin(Join $join, array &$bindings): string
    {
        $sql = $join->type.' JOIN '.$this->compileIdentifierWithAlias($join->table, $join->tableAlias, $bindings);

        if ($join->criteria) {
            $sql .= ' ON '.$this->compileCriteria($join->criteria, $bindings);
        }

        return $sql;
    }
protected function compileOneJoin(Join $join, array &$bindings): string
    {
        $sql = $join->type.' JOIN '.$this->compileIdentifierWithAlias($join->table, $join->tableAlias, $bindings);

        if ($join->criteria) {
            $sql .= ' ON '.$this->compileCriteria($join->criteria, $bindings);
        }

        return $sql;
    }
protected function compileOneJoin ( Join $ join , array & $ bindings ) : string { $ sql = $ join -> type . ' JOIN ' . $ this -> compileIdentifierWithAlias ( $ join -> table , $ join -> tableAlias , $ bindings ) ; if ( $ join -> criteria ) { $ sql .= ' ON ' . $ this -> compileCriteria ( $ join -> criteria , $ bindings ) ; } return $ sql ; }
Converts a Join object ot an SQL query text.

@param Join $join Join
@param array $bindings Bound values (array is filled by link)
@return string SQL text
Converts a Join object ot an SQL query text .