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

Method Exec

client/stmt.go:43–46  ·  view source on GitHub ↗

Exec executes a query that doesn't return rows, such as INSERT.

(args []driver.Value)

Source from the content-addressed store, hash-verified

41
42// Exec executes a query that doesn't return rows, such as INSERT.
43func (s *stmt) Exec(args []driver.Value) (driver.Result, error) {
44 // convert bind parameters to named bind parameters.
45 return s.ExecContext(context.Background(), convertOldArgs(args))
46}
47
48// QueryContext implements the driver.StmtQueryContext.QueryContext.
49func (s *stmt) QueryContext(ctx context.Context, args []driver.NamedValue) (driver.Rows, error) {

Callers

nothing calls this directly

Calls 2

ExecContextMethod · 0.95
convertOldArgsFunction · 0.70

Tested by

no test coverage detected