QUERY PLAN
HashAggregate (cost=554.94..556.68 rows=174 width=12)
Group Key: client_id
-> Bitmap Heap Scan on tbl_work_logs (cost=44.37..554.00 rows=187 width=8)
Recheck Cond: (client_id = ANY ('{3333,2830,2705,1097,3273,104,1947,1853,3230,3313}'::integer[]))
Filter: (NOT is_draft)
-> Bitmap Index Scan on tbl_work_logs_client_id_idx (cost=0.00..44.32 rows=187 width=0)
Index Cond: (client_id = ANY ('{3333,2830,2705,1097,3273,104,1947,1853,3230,3313}'::integer[]))