()
| 44 | } |
| 45 | |
| 46 | func (d *updateData) QueryRow() RowScanner { |
| 47 | if d.RunWith == nil { |
| 48 | return &Row{err: RunnerNotSet} |
| 49 | } |
| 50 | queryRower, ok := d.RunWith.(QueryRower) |
| 51 | if !ok { |
| 52 | return &Row{err: RunnerNotQueryRunner} |
| 53 | } |
| 54 | return QueryRowWith(queryRower, d) |
| 55 | } |
| 56 | |
| 57 | func (d *updateData) ToSql() (sqlStr string, args []interface{}, err error) { |
| 58 | if len(d.Table) == 0 { |
nothing calls this directly
no test coverage detected