GroupAggregate (cost=1492.36..1493.72 rows=49 width=20) |
Group Key: client_id |
-> Sort (cost=1492.36..1492.48 rows=50 width=24) |
Sort Key: client_id |
-> Bitmap Heap Scan on tbl_work_logs (cost=91.26..1490.95 rows=50 width=24) |
Recheck Cond: (client_id = ANY ('{2166,3367,3370,2736,402,1663,3357,24,3134,571,520,2182,2818,3179,2202,3115,3262,2806,2173,3328}'::integer[])) |
Filter: ((NOT is_draft) AND (scenario_id = 2)) |
-> Bitmap Index Scan on tbl_work_logs_client_id_idx (cost=0.00..91.25 rows=1269 width=0) |
Index Cond: (client_id = ANY ('{2166,3367,3370,2736,402,1663,3357,24,3134,571,520,2182,2818,3179,2202,3115,3262,2806,2173,3328}'::integer[])) |