QUERY PLAN
Aggregate (cost=1483.66..1483.67 rows=1 width=32)
-> Bitmap Heap Scan on tbl_work_logs (cost=78.62..1479.23 rows=253 width=2)
Recheck Cond: (created_by = 5295)
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..78.55 rows=4035 width=0)
Index Cond: (created_by = 5295)