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