MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / ExecContext

Method ExecContext

client/stmt.go:59–66  ·  view source on GitHub ↗

ExecContext implements the driver.StmtExecContext.ExecContext.

(ctx context.Context, args []driver.NamedValue)

Source from the content-addressed store, hash-verified

57
58// ExecContext implements the driver.StmtExecContext.ExecContext.
59func (s *stmt) ExecContext(ctx context.Context, args []driver.NamedValue) (driver.Result, error) {
60 // build query from pattern
61 if atomic.LoadInt32(&s.closed) != 0 || s.c == nil {
62 return nil, driver.ErrBadConn
63 }
64
65 return s.c.ExecContext(ctx, s.pattern, args)
66}
67
68// Close closes the statement.
69func (s *stmt) Close() error {

Callers 1

ExecMethod · 0.95

Calls 1

ExecContextMethod · 0.65

Tested by

no test coverage detected