MCPcopy
hub / github.com/jmoiron/sqlx / Close

Method Close

named.go:36–38  ·  view source on GitHub ↗

Close closes the named statement.

()

Source from the content-addressed store, hash-verified

34
35// Close closes the named statement.
36func (n *NamedStmt) Close() error {
37 return n.Stmt.Close()
38}
39
40// Exec executes a named statement using the struct passed.
41// Any named placeholder parameters are replaced with fields from arg.

Callers 2

TestNamedContextQueriesFunction · 0.95
TestNamedQueriesFunction · 0.95

Calls 1

CloseMethod · 0.65

Tested by 2

TestNamedContextQueriesFunction · 0.76
TestNamedQueriesFunction · 0.76