MCPcopy
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
40func UsingLogDatabase(databaseType DatabaseType) bool {
41 return logDatabaseType == databaseType
42}
43
44var SQLitePath = "one-api.db?_busy_timeout=30000"

Callers 6

GetLogByTokenIdFunction · 0.92
GetAllLogsFunction · 0.92
GetUserLogsFunction · 0.92
DeleteOldLogBatchFunction · 0.92
InitLogDBFunction · 0.92
migrateLOGDBFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected