QUERY PLAN
HashAggregate (cost=354.97..355.96 rows=99 width=12)
Group Key: client_id
-> Bitmap Heap Scan on tbl_work_logs (cost=35.13..354.46 rows=103 width=8)
Recheck Cond: (client_id = ANY ('{2181,112,1186,334,1876,161,1250,473}'::integer[]))
Filter: (NOT is_draft)
-> Bitmap Index Scan on tbl_work_logs_client_id_idx (cost=0.00..35.10 rows=103 width=0)
Index Cond: (client_id = ANY ('{2181,112,1186,334,1876,161,1250,473}'::integer[]))