Changes between Version 4 and Version 5 of Use-Case


Ignore:
Timestamp:
09/24/26 13:48:49 (3 days ago)
Author:
231285
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Use-Case

    v4 v5  
    8484
    8585||=Use case=||=Importance=||=Why it was selected=||
    86 ||UC0001 – Register||High||Nothing else works without it; demonstrates `INSERT` with a uniqueness check.||
    87 ||UC0002 – Log in||High||Authenticates every Trader action; demonstrates `SELECT` with parameter binding.||
    88 ||UC0003 – Deposit||High||Shows a multi-row transaction: `UPDATE users` plus `INSERT INTO transactions`.||
    89 ||UC0004 – Buy||Very high||Core of the exchange: `INSERT orders`, `UPDATE users`, upsert `holdings`, ledger entry, market trade.||
    90 ||UC0005 – Sell||Very high||Dual of Buy; demonstrates row-level `FOR UPDATE` locking, reservation of committed crypto (`holdings.reserved_quantity`) and cost-basis bookkeeping.||
    91 ||UC0006 – Portfolio||High||Demonstrates joins over `holdings`, `markets` and `crypto`, and the `v_portfolio` view.||
    92 ||UC0007 – Watchlist||Medium||Demonstrates N–M relation handling and `ON CONFLICT` upsert semantics.||
     86||[wiki:UC0001] – Register||High||Nothing else works without it; demonstrates `INSERT` with a uniqueness check.||
     87||[wiki:UC0002] – Log in||High||Authenticates every Trader action; demonstrates `SELECT` with parameter binding.||
     88||[wiki:UC0003] – Deposit||High||Shows a multi-row transaction: `UPDATE users` plus `INSERT INTO transactions`.||
     89||[wiki:UC0004] – Buy||Very high||Core of the exchange: `INSERT orders`, `UPDATE users`, upsert `holdings`, ledger entry, market trade.||
     90||[wiki:UC0005] – Sell||Very high||Dual of Buy; demonstrates row-level `FOR UPDATE` locking, reservation of committed crypto (`holdings.reserved_quantity`) and cost-basis bookkeeping.||
     91||[wiki:UC0006] – Portfolio||High||Demonstrates joins over `holdings`, `markets` and `crypto`, and the `v_portfolio` view.||
     92||[wiki:UC0007] – Watchlist||Medium||Demonstrates N–M relation handling and `ON CONFLICT` upsert semantics.||
    9393
    9494== AI usage ==