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

Function UsingMainDatabase

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

Source from the content-addressed store, hash-verified

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

Callers 15

GetDBTimestampFunction · 0.92
UpdatePendingTopUpStatusFunction · 0.92
RechargeFunction · 0.92
ManualCompleteTopUpFunction · 0.92
RechargeCreemFunction · 0.92
RechargeWaffoFunction · 0.92
RechargeWaffoPancakeFunction · 0.92
ExpireSubscriptionOrderFunction · 0.92
rankingBucketExprFunction · 0.92
RedeemFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected