Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QuantumNous/new-api
/ SetMainDatabaseType
Function
SetMainDatabaseType
common/database.go:23–25 ·
view source on GitHub ↗
(databaseType DatabaseType)
Source
from the content-addressed store, hash-verified
21
}
22
23
func
SetMainDatabaseType(databaseType DatabaseType) {
24
mainDatabaseType = databaseType
25
}
26
27
func
SetLogDatabaseType(databaseType DatabaseType) {
28
logDatabaseType = databaseType
Callers
6
setupDashboardAuthMiddlewareTest
Function · 0.92
TestTelegramBindCommitsFlowAssertionAndBindingAtomically
Function · 0.92
setupAuthFlowControllerTest
Function · 0.92
TestPasskeyRegisterFinishRejectsMissingOrWrongProofWithoutConsumingFlow
Function · 0.92
InitDB
Function · 0.92
useFrontendOptionMigrationDB
Function · 0.92
Calls
no outgoing calls
Tested by
5
setupDashboardAuthMiddlewareTest
Function · 0.74
TestTelegramBindCommitsFlowAssertionAndBindingAtomically
Function · 0.74
setupAuthFlowControllerTest
Function · 0.74
TestPasskeyRegisterFinishRejectsMissingOrWrongProofWithoutConsumingFlow
Function · 0.74
useFrontendOptionMigrationDB
Function · 0.74