GroupAggregate (cost=554.54..554.76 rows=8 width=20) |
Group Key: client_id |
-> Sort (cost=554.54..554.56 rows=8 width=24) |
Sort Key: client_id |
-> Bitmap Heap Scan on tbl_work_logs (cost=44.33..554.42 rows=8 width=24) |
Recheck Cond: (client_id = ANY ('{3333,2830,2705,1097,3273,104,1947,1853,3230,3313}'::integer[])) |
Filter: ((NOT is_draft) AND (scenario_id = 2)) |
-> Bitmap Index Scan on tbl_work_logs_client_id_idx (cost=0.00..44.32 rows=187 width=0) |
Index Cond: (client_id = ANY ('{3333,2830,2705,1097,3273,104,1947,1853,3230,3313}'::integer[])) |