Log in
Model

ResourceModel\Helper

Magento\Eav\Model\ResourceModel\Helper

What it does

This helper class assists with database operations for EAV (Entity-Attribute-Value) attributes in Magento 2.

Developers use it to convert database column types to DDL types and to optimize attribute loading by grouping similar attribute types (varchar, text, decimal, datetime, int) into unified SQL UNION queries instead of running separate queries for each type.

Public Methods

  • getDdlTypeByColumnType()
  • getLoadAttributesSelectGroups()