MCPcopy Create free account
hub / github.com/corestoreio/pkg / WithExecSQLOnConnClose

Function WithExecSQLOnConnClose

sql/dml/connection.go:249–251  ·  view source on GitHub ↗

WithExecSQLOnConnClose runs the sqlQuery arguments before closing a DB connection. More than one queries are running in a transaction, a single query not.

(ctx context.Context, sqlQuery ...string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

WithDSNFunction · 0.85

Calls 1

withExecSQLFunction · 0.85

Tested by

no test coverage detected