QUERY PLAN
HashAggregate (cost=638.40..640.45 rows=205 width=12)
Group Key: client_id
-> Bitmap Heap Scan on tbl_work_logs (cost=44.61..637.28 rows=224 width=8)
Recheck Cond: (client_id = ANY ('{3424,42,3455,3453,3442,3410,3441,3440,3439,3394}'::integer[]))
Filter: (NOT is_draft)
-> Bitmap Index Scan on tbl_work_logs_client_id_idx (cost=0.00..44.55 rows=225 width=0)
Index Cond: (client_id = ANY ('{3424,42,3455,3453,3442,3410,3441,3440,3439,3394}'::integer[]))