QUERY PLAN
HashAggregate (cost=693.98..696.31 rows=233 width=12)
Group Key: client_id
-> Bitmap Heap Scan on tbl_work_logs (cost=44.91..692.69 rows=258 width=8)
Recheck Cond: (client_id = ANY ('{543,93,2713,2150,301,1676,2225,1141,1637,2095}'::integer[]))
Filter: (NOT is_draft)
-> Bitmap Index Scan on tbl_work_logs_client_id_idx (cost=0.00..44.85 rows=258 width=0)
Index Cond: (client_id = ANY ('{543,93,2713,2150,301,1676,2225,1141,1637,2095}'::integer[]))