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

Function WithExecSQLOnConnOpen

sql/dml/connection.go:242–244  ·  view source on GitHub ↗

WithExecSQLOnConnOpen runs the sqlQuery arguments after successful opening 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

nothing calls this directly

Calls 1

withExecSQLFunction · 0.85

Tested by

no test coverage detected