protected function prepareFrom(): string
    {
        $fromClauses = [];
        // Loop through all FROM clauses
        foreach ($this->from as $from) {
            $fromClause = Db::quoteIdentifier($from['table']) . ' AS ' . Db::quoteIdentifier($from['alias'])
                . $this->prepareJoins($from['alias']);

            $fromClauses[$from['alias']] = $fromClause;
        }

        return ' FROM ' . implode(', ', $fromClauses);
    }
protected function prepareFrom(): string
    {
        $fromClauses = [];
        // Loop through all FROM clauses
        foreach ($this->from as $from) {
            $fromClause = Db::quoteIdentifier($from['table']) . ' AS ' . Db::quoteIdentifier($from['alias'])
                . $this->prepareJoins($from['alias']);

            $fromClauses[$from['alias']] = $fromClause;
        }

        return ' FROM ' . implode(', ', $fromClauses);
    }
protected function prepareFrom ( ) : string { $ fromClauses = [ ] ; // Loop through all FROM clauses foreach ( $ this -> from as $ from ) { $ fromClause = Db :: quoteIdentifier ( $ from [ 'table' ] ) . ' AS ' . Db :: quoteIdentifier ( $ from [ 'alias' ] ) . $ this -> prepareJoins ( $ from [ 'alias' ] ) ; $ fromClauses [ $ from [ 'alias' ] ] = $ fromClause ; } return ' FROM ' . implode ( ', ' , $ fromClauses ) ; }
Prepare From query part

@return string
Prepare From query part