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

Method GetAccountByNumber

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

Retrieves all accounts (legacy)

(number string)

Source from the content-addressed store, hash-verified

116 GetAccountByID(id string, include []string) (*model.Account, error) // Retrieves an account by ID with additional data
117 GetAllAccounts() ([]model.Account, error) // Retrieves all accounts (legacy)
118 GetAccountByNumber(number string) (*model.Account, error) // Retrieves an account by its number
119 UpdateAccount(account *model.Account) error // Updates an account
120 DeleteAccount(id string) error // Deletes an account
121

Callers 1

GetAccountByNumberMethod · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by

no test coverage detected