QUERY PLAN
Sort (cost=1507.33..1512.15 rows=1928 width=313)
Sort Key: s.id DESC
-> Bitmap Heap Scan on tbl_work_logs s (cost=39.23..1402.13 rows=1928 width=313)
Recheck Cond: (created_by = 1004)
-> Bitmap Index Scan on tbl_work_logs_created_by_idx (cost=0.00..38.75 rows=1928 width=0)
Index Cond: (created_by = 1004)