QUERY PLAN
Result (cost=7.59..7.60 rows=1 width=1)
InitPlan 1 (returns $0)
-> Bitmap Heap Scan on tbl_ledger_settles (cost=4.21..14.35 rows=3 width=0)
Recheck Cond: (ledger_id = 1)
Filter: is_settle
-> Bitmap Index Scan on idx_tbl_ledger_settles_ledger_id (cost=0.00..4.21 rows=7 width=0)
Index Cond: (ledger_id = 1)