GroupAggregate (cost=1397.12..1398.51 rows=50 width=20) |
Group Key: client_id |
-> Sort (cost=1397.12..1397.25 rows=51 width=24) |
Sort Key: client_id |
-> Bitmap Heap Scan on tbl_work_logs (cost=52.21..1395.68 rows=51 width=24) |
Recheck Cond: (client_id = ANY ('{141,3056,2032,2736,189,2182,24,101,54,18}'::integer[])) |
Filter: ((NOT is_draft) AND (scenario_id = 2)) |
-> Bitmap Index Scan on tbl_work_logs_client_id_idx (cost=0.00..52.20 rows=1244 width=0) |
Index Cond: (client_id = ANY ('{141,3056,2032,2736,189,2182,24,101,54,18}'::integer[])) |