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