-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
database/sql: confusing documentation for Rows.Columns #27202
Labels
Comments
If this is a mistake I'm surprised it hasn't been found yet. Your "not make sense" logic seems to apply equally to the original code: https://codereview.appspot.com/5483088/diff/4001/src/pkg/exp/sql/sql.go |
/cc @kardianos |
@AlekSi I believe you are correct. Feel free to send a CL to fix, or I will later. |
AlekSi
added a commit
to AlekSi/go
that referenced
this issue
Sep 3, 2018
Fixes golang#27202 Change-Id: I3e3bdb1c8d655deb6fdd374868fcac0621f8fa0c
Change https://golang.org/cl/133057 mentions this issue: |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
https://tip.golang.org/pkg/database/sql/#Rows.Columns says:
That latter part does not make sense: it is not possible to convert Row (returned by QueryRow) to Rows.
Unless I miss something, that part should be removed.
The text was updated successfully, but these errors were encountered: