QUERY PLAN
HashAggregate (cost=1352.04..1359.13 rows=709 width=12)
Group Key: client_id
-> Bitmap Heap Scan on tbl_work_logs (cost=51.04..1346.78 rows=1053 width=8)
Recheck Cond: (client_id = ANY ('{3337,101,54,2737,2094,1276,149,3308,1121,3324}'::integer[]))
Filter: (NOT is_draft)
-> Bitmap Index Scan on tbl_work_logs_client_id_idx (cost=0.00..50.77 rows=1055 width=0)
Index Cond: (client_id = ANY ('{3337,101,54,2737,2094,1276,149,3308,1121,3324}'::integer[]))