| GroupAggregate (cost=1101.91..1102.55 rows=23 width=20) |
| Group Key: client_id |
| -> Sort (cost=1101.91..1101.97 rows=23 width=24) |
| Sort Key: client_id |
| -> Bitmap Heap Scan on tbl_work_logs (cost=55.63..1101.39 rows=23 width=24) |
| Recheck Cond: (client_id = ANY ('{2094,149,2737,399,3433,2728,2123,2114,2098,2093,1101,31}'::integer[])) |
| Filter: ((NOT is_draft) AND (scenario_id = 2)) |
| -> Bitmap Index Scan on tbl_work_logs_client_id_idx (cost=0.00..55.62 rows=548 width=0) |
| Index Cond: (client_id = ANY ('{2094,149,2737,399,3433,2728,2123,2114,2098,2093,1101,31}'::integer[])) |