(ctx context.Context, conn *Conn, sql string, args []any)
| 725 | // QueryRewriter rewrites a query when used as the first arguments to a query method. |
| 726 | type QueryRewriter interface { |
| 727 | RewriteQuery(ctx context.Context, conn *Conn, sql string, args []any) (newSQL string, newArgs []any, err error) |
| 728 | } |
| 729 | |
| 730 | // Query sends a query to the server and returns a Rows to read the results. Only errors encountered sending the query |
no outgoing calls