Sort (cost=115.66..115.66 rows=1 width=96) |
Sort Key: pt.id |
-> Nested Loop Left Join (cost=30.39..115.65 rows=1 width=96) |
-> Bitmap Heap Scan on tbl_term_taxonomy_relationships pt (cost=30.24..107.42 rows=1 width=51) |
Recheck Cond: ((object_id = ANY ('{7,6,5,4,3,2,1}'::integer[])) AND (term_id = 18)) |
Filter: (object_type = 12) |
-> Bitmap Index Scan on tbl_term_taxonomy_relationships_object_id_term_id_idx (cost=0.00..30.24 rows=23 width=0) |
Index Cond: ((object_id = ANY ('{7,6,5,4,3,2,1}'::integer[])) AND (term_id = 18)) |
-> Index Scan using tbl_term_taxonomies_pkey on tbl_term_taxonomies tt (cost=0.15..8.17 rows=1 width=19) |
Index Cond: (pt.taxonomy_id = id) |