MCPcopy Create free account
hub / github.com/cloudwan/gohan / Exec

Method Exec

db/sql/sql.go:607–609  ·  view source on GitHub ↗
(sql string, args ...interface{})

Source from the content-addressed store, hash-verified

605}
606
607func (tx *Transaction) Exec(sql string, args ...interface{}) error {
608 return tx.ExecContext(context.Background(), sql, args...)
609}
610
611// Exec executes sql in transaction
612func (tx *Transaction) ExecContext(ctx context.Context, sql string, args ...interface{}) error {

Callers

nothing calls this directly

Calls 1

ExecContextMethod · 0.95

Tested by

no test coverage detected