Skip to main content

Module ledger_ops

Module ledger_ops 

Source
Expand description

Ledger database operations using Diesel.

These functions take a connection as a parameter, allowing them to be called within a transaction alongside other operations (e.g., fill inserts).

Functionsยง

apply_pnl_decimal_sync
Apply a Decimal balance delta within a transaction.