Replies: 1 comment
-
It returns precision and scale of column type, not a value in specific row. See also: https://pkg.go.dev/database/sql/driver#RowsColumnTypePrecisionScale |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Example SQL:
Called this function to get precision and scale:
The returned precision is 42. I don't understand where did 42 come from. It's supposed to be 1, right?
Beta Was this translation helpful? Give feedback.
All reactions