MCPcopy Create free account
hub / github.com/QuantumNous/new-api / UsingMainDatabase

Function UsingMainDatabase

common/database.go:38–40  ·  view source on GitHub ↗
(databaseType DatabaseType)

Source from the content-addressed store, hash-verified

36}
37
38func UsingMainDatabase(databaseType DatabaseType) bool {
39 return mainDatabaseType == databaseType
40}
41
42func UsingLogDatabase(databaseType DatabaseType) bool {
43 return logDatabaseType == databaseType

Callers 15

setupChannelCreateTestFunction · 0.92
GetDBTimestampFunction · 0.92
UpdatePendingTopUpStatusFunction · 0.92
RechargeEpayFunction · 0.92
RechargeFunction · 0.92
ManualCompleteTopUpFunction · 0.92
RechargeCreemFunction · 0.92
RechargeWaffoFunction · 0.92
RechargeWaffoPancakeFunction · 0.92

Calls

no outgoing calls