Log in
Model

Query

Magento\QueryXml\Model\Query

What it does

This class represents a database query object that encapsulates a SQL SELECT statement, connection information, and query configuration.

Developers use it to build and execute database queries defined through XML configuration, providing a structured way to manage complex database operations with the ability to serialize query details to JSON for debugging or caching purposes.

Public Methods

  • getSelect()
  • getConnectionName()
  • getConfig()
  • jsonSerialize()