Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tinode/chat
/ GetTestDB
Method
GetTestDB
server/db/adapter.go:208–208 ·
view source on GitHub ↗
Testing GetTestDB returns a currently open database connection.
()
Source
from the content-addressed store, hash-verified
206
207
// GetTestDB returns a currently open database connection.
208
GetTestDB() any
209
}
Callers
7
init
Function · 0.65
TestCreateDb
Function · 0.65
init
Function · 0.65
TestCreateDb
Function · 0.65
init
Function · 0.65
TestCreateDb
Function · 0.65
init
Function · 0.65
Implementers
4
adapter
server/db/mongodb/adapter.go
adapter
server/db/postgres/adapter.go
adapter
server/db/rethinkdb/adapter.go
adapter
server/db/mysql/adapter.go
Calls
no outgoing calls
Tested by
7
init
Function · 0.52
TestCreateDb
Function · 0.52
init
Function · 0.52
TestCreateDb
Function · 0.52
init
Function · 0.52
TestCreateDb
Function · 0.52
init
Function · 0.52