QUERY PLAN
Aggregate (cost=1535.04..1535.05 rows=1 width=32)
-> Bitmap Heap Scan on tbl_work_logs (cost=104.80..1529.12 rows=338 width=2)
Recheck Cond: (created_by = 5300)
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..104.72 rows=5390 width=0)
Index Cond: (created_by = 5300)