QUERY PLAN
HashAggregate (cost=807.77..810.65 rows=288 width=12)
Group Key: client_id
-> Bitmap Heap Scan on tbl_work_logs (cost=45.46..806.14 rows=327 width=8)
Recheck Cond: (client_id = ANY ('{2128,2492,3360,2547,3284,3342,2136,2130,2125,3330}'::integer[]))
Filter: (NOT is_draft)
-> Bitmap Index Scan on tbl_work_logs_client_id_idx (cost=0.00..45.38 rows=327 width=0)
Index Cond: (client_id = ANY ('{2128,2492,3360,2547,3284,3342,2136,2130,2125,3330}'::integer[]))