Q: What happens when setData(‘some’,’value’) is called on an EAV entity and the entity is saved to the database?

The ‘value’ of the attribute named ‘some’ is saved in one of the entity’s tables depending on its datatype (for example, entityname_varchar).

Any Model that uses an EAV resource has its attributes spread out over a number of MySQL tables.

catalog_product EAV
catalog_product EAV

 

Leave a Reply

Your email address will not be published. Required fields are marked *