You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* go-mysql would work with Percona Server, Google CloudSQL or Sphinx (2.2.3+).
51
+
* Maintainers won't support them. Do not expect issues are investigated and resolved by maintainers.
52
+
* Investigate issues yourself and please send a pull request to fix it.
45
53
46
54
---------------------------------------
47
55
@@ -285,6 +293,15 @@ Note that this sets the location for time.Time values but does not change MySQL'
285
293
286
294
Please keep in mind, that param values must be [url.QueryEscape](https://golang.org/pkg/net/url/#QueryEscape)'ed. Alternatively you can manually replace the `/` with `%2F`. For example `US/Pacific` would be `loc=US%2FPacific`.
287
295
296
+
##### `timeTruncate`
297
+
298
+
```
299
+
Type: duration
300
+
Default: 0
301
+
```
302
+
303
+
[Truncate time values](https://pkg.go.dev/time#Duration.Truncate) to the specified duration. The value must be a decimal number with a unit suffix (*"ms"*, *"s"*, *"m"*, *"h"*), such as *"30s"*, *"0.5m"* or *"1m30s"*.
0 commit comments