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