Important
This EAV debugger tool has been repackaged and released as a proper Magento module now.
Please install it using composer. https://github.com/mage-os-lab/module-eav-debug-views
Install with:
composer require --dev mage-os/module-eav-debug-views
bin/magento setup:upgrade
These queries/views aggregate all EAV values for each entity into a JSON column (eav_int, eav_text, etc) for easier debugging. For scoped entities, any scope values will be appended as
"{attribute_code}:{store_id}"="{value}".Don't use these for anything in runtime code. Be careful about how much data you select at once, if you have a large site.
I covered products, categories, customers, and addresses at this point. May put them into a composer-installable module if people would find it valuable.
You can use JSON functions on the EAV columns, for example:
Or: