QUERY PLAN
HashAggregate (cost=1285.78..1292.09 rows=631 width=12)
Group Key: client_id
-> Bitmap Heap Scan on tbl_work_logs (cost=49.72..1281.38 rows=881 width=8)
Recheck Cond: (client_id = ANY ('{141,2815,3056,3332,2032,2736,189,2182,2600,24}'::integer[]))
Filter: (NOT is_draft)
-> Bitmap Index Scan on tbl_work_logs_client_id_idx (cost=0.00..49.50 rows=882 width=0)
Index Cond: (client_id = ANY ('{141,2815,3056,3332,2032,2736,189,2182,2600,24}'::integer[]))