Log in
Model

FromAssembler

Magento\QueryXml\Model\DB\Assembler\FromAssembler

What it does

This class assembles the FROM clause of database queries in Magento 2's QueryXML system.

It takes a query configuration, resolves the main table name and alias, sets up the FROM clause, and merges any defined columns from the source table into the query builder.

Developers would use this when building complex database queries through XML configuration rather than writing raw SQL.

Public Methods

  • assemble()