Query builds and Querys the query with the Runner set by RunWith.
()
| 195 | |
| 196 | // Query builds and Querys the query with the Runner set by RunWith. |
| 197 | func (b SelectBuilder) Query() (*sql.Rows, error) { |
| 198 | data := builder.GetStruct(b).(selectData) |
| 199 | return data.Query() |
| 200 | } |
| 201 | |
| 202 | // QueryRow builds and QueryRows the query with the Runner set by RunWith. |
| 203 | func (b SelectBuilder) QueryRow() RowScanner { |