每一个category 或tag (即电子设备)作为术语存储在wp_terms 索引为的表name 和slug, 它与分类学的关系存储在wp_term_taxonomy 索引为的表taxonomy 和term_taxonomy_id.
我可以找到term_id 从…起wp_terms 表格使用name 因为它的索引name, 但我必须使用term_id 进一步查找term_taxonomy_id 从…起wp_term_taxonomy 表,但其索引为taxonomy 但不是term_id, 然后我会使用term_taxonomy_id 要查找object_id (posts) 从…起wp_term_relationship 桌子
Question is, why wp_term_taxonomy table is not indexed with term_id which is important in operations like finding posts related to a particular category or tag or anything else?