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

Method DeleteAccount

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

Updates an account

(id string)

Source from the content-addressed store, hash-verified

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
122 // Advanced filtering methods
123 GetAllAccountsWithFilter(ctx context.Context, filters *filter.QueryFilterSet, limit, offset int) ([]model.Account, error) // Retrieves accounts with advanced filtering

Callers

nothing calls this directly

Implementers 2

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

Calls

no outgoing calls

Tested by

no test coverage detected