package
1.0.1
Repository: https://github.com/shivanshkc/ledgerkeep.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

CreateIndexOnTransactionField creates a B-Tree index on the specified field in the transaction collection.
DeleteAccount deletes an account in the database.
DeleteTransaction deletes a transaction from the database.
GetAccountBalances provides a map of account IDs to their balance.
GetTransaction returns the transaction record matching the provided ID.
InsertAccount creates a new account in the database.
InsertTransaction creates a new transaction in the database.
IsAccountExists returns true if the account with the provided ID exists.
IsAccountUsed returns true if even a single transaction is using the provided account, otherwise it returns false.
ListAccounts provides a list of all accounts.
ListTransactions lists all the transactions that match the provided filter, pagination and sort params.
UpdateAccount updates an account in the database.
UpdateTransaction updates a transaction in the database.

# Structs

ListTransactionsParams is the schema of params required by the ListTransactions operation.