QUERY PLAN
Aggregate (cost=1458.43..1458.44 rows=1 width=32)
-> Bitmap Heap Scan on tbl_work_logs (cost=45.57..1455.91 rows=144 width=2)
Recheck Cond: (created_by = 1004)
Filter: ((created_at >= '2025-01-01 00:00:00+08'::timestamp with time zone) AND (created_at <= '2025-12-31 23:59:59+08'::timestamp with time zone))
-> Bitmap Index Scan on tbl_work_logs_created_by_idx (cost=0.00..45.53 rows=2299 width=0)
Index Cond: (created_by = 1004)