Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/QuantumNous/new-api
/ UsingLogDatabase
Function
UsingLogDatabase
common/database.go:40–42 ·
view source on GitHub ↗
(databaseType DatabaseType)
Source
from the content-addressed store, hash-verified
38
}
39
40
func
UsingLogDatabase(databaseType DatabaseType) bool {
41
return
logDatabaseType == databaseType
42
}
43
44
var
SQLitePath =
"one-api.db?_busy_timeout=30000"
Callers
6
GetLogByTokenId
Function · 0.92
GetAllLogs
Function · 0.92
GetUserLogs
Function · 0.92
DeleteOldLogBatch
Function · 0.92
InitLogDB
Function · 0.92
migrateLOGDB
Function · 0.92
Calls
no outgoing calls
Tested by
no test coverage detected