QUERY PLAN
HashAggregate (cost=947.62..951.25 rows=363 width=12)
Group Key: client_id
-> Bitmap Heap Scan on tbl_work_logs (cost=46.23..945.48 rows=428 width=8)
Recheck Cond: (client_id = ANY ('{1661,3375,3281,3284,3312,3379,2032,141,2242,3326}'::integer[]))
Filter: (NOT is_draft)
-> Bitmap Index Scan on tbl_work_logs_client_id_idx (cost=0.00..46.12 rows=429 width=0)
Index Cond: (client_id = ANY ('{1661,3375,3281,3284,3312,3379,2032,141,2242,3326}'::integer[]))