QueryRowWith QueryRows the SQL returned by s with db.
(db QueryRower, s Sqlizer)
| 118 | |
| 119 | // QueryRowWith QueryRows the SQL returned by s with db. |
| 120 | func QueryRowWith(db QueryRower, s Sqlizer) RowScanner { |
| 121 | query, args, err := s.ToSql() |
| 122 | return &Row{RowScanner: db.QueryRow(query, args...), err: err} |
| 123 | } |
| 124 | |
| 125 | // DebugSqlizer calls ToSql on s and shows the approximate SQL to be executed |
| 126 | // |
searching dependent graphs…