QUERY PLAN
Aggregate (cost=1463.20..1463.21 rows=1 width=32)
-> Bitmap Heap Scan on tbl_work_logs (cost=67.03..1459.30 rows=223 width=2)
Recheck Cond: (created_by = 1005)
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..66.98 rows=3558 width=0)
Index Cond: (created_by = 1005)