MustExecContext execs a NamedStmt, panicing on error Any named placeholder parameters are replaced with fields from arg.
(ctx context.Context, arg interface{})
| 67 | // MustExecContext execs a NamedStmt, panicing on error |
| 68 | // Any named placeholder parameters are replaced with fields from arg. |
| 69 | func (n *NamedStmt) MustExecContext(ctx context.Context, arg interface{}) sql.Result { |
| 70 | res, err := n.ExecContext(ctx, arg) |
| 71 | if err != nil { |
| 72 | panic(err) |
| 73 | } |
| 74 | return res |
| 75 | } |
| 76 | |
| 77 | // QueryxContext using this NamedStmt |
| 78 | // Any named placeholder parameters are replaced with fields from arg. |
nothing calls this directly
no test coverage detected