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

Method GetMatchingRules

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

Records a matching rule

(ctx context.Context)

Source from the content-addressed store, hash-verified

160 RecordExternalTransaction(ctx context.Context, tx *model.ExternalTransaction, reconciliationID string) error // Records an external transaction
161 RecordMatchingRule(ctx context.Context, rule *model.MatchingRule) error // Records a matching rule
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

Callers 1

ListMatchingRulesMethod · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by

no test coverage detected