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

Method Ping

prepare_stmt.go:200–206  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

198}
199
200func (tx *PreparedStmtTX) Ping() error {
201 conn, err := tx.GetDBConn()
202 if err != nil {
203 return err
204 }
205 return conn.Ping()
206}

Callers

nothing calls this directly

Calls 2

GetDBConnMethod · 0.95
PingMethod · 0.45

Tested by

no test coverage detected