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

Method Reset

prepare_stmt.go:62–64  ·  view source on GitHub ↗

Reset Deprecated use Close instead

()

Source from the content-addressed store, hash-verified

60
61// Reset Deprecated use Close instead
62func (db *PreparedStmtDB) Reset() {
63 db.Close()
64}
65
66func (db *PreparedStmtDB) prepare(ctx context.Context, conn ConnPool, isTransaction bool, query string) (_ *stmt_store.Stmt, err error) {
67 db.Mux.RLock()

Callers 3

AddVarMethod · 0.80
ExecuteMethod · 0.80
BuildMethod · 0.80

Calls 1

CloseMethod · 0.95

Tested by

no test coverage detected