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