-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
apply TypeConverter to args, not just fields #11
Conversation
This allows using custom types in query parameters. It also allows performing custom transformations on standard types (like rounding times to the second).
I also ran the new tests cases against main and confirmed they failed. One initial mystery: they failed with this error message:
Which is the same error message you'd get if, for instance, you sent a query with a |
Ah, needs adjustments to run with postgres dialect and also a fix to the govulncheck test. |
We believe the MariaDB query planner generates inefficient query plans when a time index is queried using high precision (nanosecond) times. This uses the updated borp from[1] to automatically truncate `time.Time` and `*time.Time` in query parameters. [1]: letsencrypt/borp#11 Part of #5437
This allows using custom types in query parameters. It also allows performing custom transformations on standard types (like rounding times to the second).