Exec executes a query that doesn't return rows, such as INSERT.
(args []driver.Value)
| 41 | |
| 42 | // Exec executes a query that doesn't return rows, such as INSERT. |
| 43 | func (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. |
| 49 | func (s *stmt) QueryContext(ctx context.Context, args []driver.NamedValue) (driver.Rows, error) { |
nothing calls this directly
no test coverage detected