Sort (cost=909.76..909.77 rows=1 width=399) |
Sort Key: r.created_at DESC |
-> Nested Loop (cost=0.29..909.75 rows=1 width=399) |
-> Seq Scan on tbl_approves r (cost=0.00..425.11 rows=64 width=399) |
Filter: (created_by = 1004) |
-> Index Scan using tbl_term_taxonomy_relationships_object_id_term_id_idx on tbl_term_taxonomy_relationships dt1 (cost=0.29..7.56 rows=1 width=4) |
Index Cond: ((object_id = r.id) AND (term_id = 17)) |
Filter: (taxonomy_id = 319) |