(ctx context.Context)
| 32 | } |
| 33 | |
| 34 | func (d *deleteData) QueryRowContext(ctx context.Context) RowScanner { |
| 35 | if d.RunWith == nil { |
| 36 | return &Row{err: RunnerNotSet} |
| 37 | } |
| 38 | queryRower, ok := d.RunWith.(QueryRowerContext) |
| 39 | if !ok { |
| 40 | if _, ok := d.RunWith.(QueryerContext); !ok { |
| 41 | return &Row{err: RunnerNotQueryRunner} |
| 42 | } |
| 43 | return &Row{err: NoContextSupport} |
| 44 | } |
| 45 | return QueryRowContextWith(ctx, queryRower, d) |
| 46 | } |
| 47 | |
| 48 | // ExecContext builds and ExecContexts the query with the Runner set by RunWith. |
| 49 | func (b DeleteBuilder) ExecContext(ctx context.Context) (sql.Result, error) { |
nothing calls this directly
no test coverage detected