GroupAggregate (cost=1152.80..1153.55 rows=27 width=20) |
Group Key: client_id |
-> Sort (cost=1152.80..1152.87 rows=27 width=24) |
Sort Key: client_id |
-> Bitmap Heap Scan on tbl_work_logs (cost=47.86..1152.16 rows=27 width=24) |
Recheck Cond: (client_id = ANY ('{2007,2505,427,498,518,2821,3331,31,2153,2546}'::integer[])) |
Filter: ((NOT is_draft) AND (scenario_id = 2)) |
-> Bitmap Index Scan on tbl_work_logs_client_id_idx (cost=0.00..47.85 rows=659 width=0) |
Index Cond: (client_id = ANY ('{2007,2505,427,498,518,2821,3331,31,2153,2546}'::integer[])) |