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

Method Close

internal/stmt_store/stmt_store.go:25–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23}
24
25func (stmt *Stmt) Close() error {
26 <-stmt.prepared
27
28 if stmt.Stmt != nil {
29 return stmt.Stmt.Close()
30 }
31 return nil
32}
33
34// Store defines an interface for managing the caching operations of SQL statements (Stmt).
35// This interface provides methods for creating new statements, retrieving all cache keys,

Callers

nothing calls this directly

Calls 1

CloseMethod · 0.65

Tested by

no test coverage detected