MCPcopy
hub / github.com/go-gorm/gorm / Ping

Method Ping

prepare_stmt.go:139–145  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

137}
138
139func (db *PreparedStmtDB) Ping() error {
140 conn, err := db.GetDBConn()
141 if err != nil {
142 return err
143 }
144 return conn.Ping()
145}
146
147type PreparedStmtTX struct {
148 Tx

Callers 2

PingMethod · 0.45
OpenFunction · 0.45

Calls 1

GetDBConnMethod · 0.95

Tested by

no test coverage detected