GroupAggregate (cost=1495.82..1496.83 rows=57 width=12) |
Group Key: client_id |
-> Sort (cost=1495.82..1495.97 rows=58 width=8) |
Sort Key: client_id |
-> Bitmap Heap Scan on tbl_work_logs (cost=91.26..1494.12 rows=58 width=8) |
Recheck Cond: (client_id = ANY ('{2166,3367,3370,2736,402,1663,3357,24,3134,571,520,2182,2818,3179,2202,3115,3262,2806,2173,3328}'::integer[])) |
Filter: ((NOT is_draft) AND (start_at >= '2025-01-01 00:00:00+08'::timestamp with time zone) AND (start_at <= '2025-12-31 23:59:59+08'::timestamp with time zone)) |
-> Bitmap Index Scan on tbl_work_logs_client_id_idx (cost=0.00..91.25 rows=1269 width=0) |
Index Cond: (client_id = ANY ('{2166,3367,3370,2736,402,1663,3357,24,3134,571,520,2182,2818,3179,2202,3115,3262,2806,2173,3328}'::integer[])) |