MCPcopy
hub / github.com/ananthakumaran/paisa / Init

Function Init

internal/query/posting.go:20–22  ·  view source on GitHub ↗
(db *gorm.DB)

Source from the content-addressed store, hash-verified

18}
19
20func Init(db *gorm.DB) *Query {
21 return &Query{context: db, order: "ASC", includeForecast: false}
22}
23
24func (q *Query) Desc() *Query {
25 q.order = "DESC"

Callers 15

loadVectorCacheFunction · 0.92
loadInterestCacheFunction · 0.92
loadTransactionCacheFunction · 0.92
GetRecurringTransactionsFunction · 0.92
GetNetworthFunction · 0.92
GetCurrentNetworthFunction · 0.92
GetScheduleALFunction · 0.92
GetDashboardFunction · 0.92
GetInvestmentFunction · 0.92
GetSheetsFunction · 0.92
GetIncomeFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected