0

I need to create a query that will list me as in the admin panel all registred customers, of course, I can do it through the tables customer_entity. However, it does not contain the customer type whether it is "Company user" or "Individual user". Where can I find this type of information by default? In which table to look for this in Magento 2?

asked Jun 11, 2022 at 14:44

2 Answers 2

1

This is too vague question to advise anything concrete.

Customer model is based on EAV(Entity Attribute Value) and related customer data stored in tables like customer_entity_*

EAV metadata for link data is stored in eav_* tables

It's present a lot of information in internet which will be helpful. You can search it by keywords like Magento 2 EAV

If you have more specific question, please update your Ask

answered Jun 12, 2022 at 7:07
0

I would like to call a SQL query something to list customers (e-mail addresses and customer type). In most standard tables, this is determined only by a number, but I want the table to appear whether it is "Company user" or "Individual User "

answered Jun 13, 2022 at 6:36

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.