MCPcopy
hub / github.com/daptin/daptin / InMemoryTestDatabase

Struct InMemoryTestDatabase

server/inmemory_mock_db.go:64–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64type InMemoryTestDatabase struct {
65 db *sqlx.DB
66 rowx *sqlx.Row
67 row *sql.Row
68 stmt *sqlx.Stmt
69 tx *sqlx.Tx
70 result sql.Result
71 queries []string
72}
73
74func (imtd *InMemoryTestDatabase) DriverName() string {
75 return "sqlite3"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected