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

Method UpdateMatchingRule

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

Retrieves a matching rule by ID

(ctx context.Context, rule *model.MatchingRule)

Source from the content-addressed store, hash-verified

162 GetMatchingRules(ctx context.Context) ([]*model.MatchingRule, error) // Retrieves all matching rules
163 GetMatchingRule(ctx context.Context, id string) (*model.MatchingRule, error) // Retrieves a matching rule by ID
164 UpdateMatchingRule(ctx context.Context, rule *model.MatchingRule) error // Updates a matching rule
165 DeleteMatchingRule(ctx context.Context, id string) error // Deletes a matching rule
166 SaveReconciliationProgress(ctx context.Context, reconciliationID string, progress model.ReconciliationProgress) error // Saves reconciliation progress
167 LoadReconciliationProgress(ctx context.Context, reconciliationID string) (model.ReconciliationProgress, error) // Loads reconciliation progress

Callers 2

UpdateMatchingRuleMethod · 0.65
UpdateMatchingRuleMethod · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by

no test coverage detected