MCPcopy Create free account
hub / github.com/devaccuracy/ledgerforge / UpdateLedgerMetadata

Method UpdateLedgerMetadata

database/repository.go:61–61  ·  view source on GitHub ↗

Groups transactions based on specified criteria

(id string, metadata map[string]interface{})

Source from the content-addressed store, hash-verified

59 GetRefundableTransactionsByParentID(ctx context.Context, parentTransactionID string, batchSize int, offset int64) ([]*model.Transaction, error) // Retrieves refundable transactions by parent ID
60 GroupTransactions(ctx context.Context, groupCriteria string, batchSize int, offset int64) (map[string][]*model.Transaction, error) // Groups transactions based on specified criteria
61 UpdateLedgerMetadata(id string, metadata map[string]interface{}) error
62 UpdateTransactionMetadata(ctx context.Context, id string, metadata map[string]interface{}) error
63 UpdateBalanceMetadata(ctx context.Context, id string, metadata map[string]interface{}) error
64 UpdateIdentityMetadata(id string, metadata map[string]interface{}) error

Callers 1

updateEntityMetadataMethod · 0.65

Implementers 2

Datasourcedatabase/db.go
MockDataSourcedatabase/mocks/repo_mocks.go

Calls

no outgoing calls

Tested by

no test coverage detected