QueryRow builds and QueryRows the query with the Runner set by RunWith.
()
| 199 | |
| 200 | // QueryRow builds and QueryRows the query with the Runner set by RunWith. |
| 201 | func (b InsertBuilder) QueryRow() RowScanner { |
| 202 | data := builder.GetStruct(b).(insertData) |
| 203 | return data.QueryRow() |
| 204 | } |
| 205 | |
| 206 | // Scan is a shortcut for QueryRow().Scan. |
| 207 | func (b InsertBuilder) Scan(dest ...interface{}) error { |