entityType field

The entityType field can be used in SQL queries to limit the type of component data that is retrieved.

For example, if you specify the entity type 2, which corresponds to interfaces, in an SQL query, only component data of the type "interface" is retrieved. The entity type of each entity is specified in the entityType field of the entityData table.