Query executes a query that may return rows, such as SELECT.
(args []driver.Value)
| 35 | |
| 36 | // Query executes a query that may return rows, such as SELECT. |
| 37 | func (s *stmt) Query(args []driver.Value) (driver.Rows, error) { |
| 38 | // convert bind parameters to named bind parameters. |
| 39 | return s.QueryContext(context.Background(), convertOldArgs(args)) |
| 40 | } |
| 41 | |
| 42 | // Exec executes a query that doesn't return rows, such as INSERT. |
| 43 | func (s *stmt) Exec(args []driver.Value) (driver.Result, error) { |
nothing calls this directly
no test coverage detected