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

Method GetDBConn

prepare_stmt.go:152–154  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

150}
151
152func (db *PreparedStmtTX) GetDBConn() (*sql.DB, error) {
153 return db.PreparedStmtDB.GetDBConn()
154}
155
156func (tx *PreparedStmtTX) Commit() error {
157 if tx.Tx != nil && !reflect.ValueOf(tx.Tx).IsNil() {

Callers 1

PingMethod · 0.95

Calls 1

GetDBConnMethod · 0.65

Tested by

no test coverage detected