Model
ConditionBuilder
Magento\Catalog\Model\ResourceModel\Attribute\ConditionBuilder
What it does
This class builds database query conditions for catalog attribute operations when attributes are scoped to specific websites rather than global scope.
Developers use it internally when Magento needs to update, delete, or insert attribute values that should only apply to stores within a particular website, ensuring attribute changes are properly scoped and don't affect other websites in a multi-store setup.
Public Methods
- buildExistingAttributeWebsiteScope()
- buildNewAttributesWebsiteScope()