Skip to content

db.QueryRow doesn't work with the golang.org example #252

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

Closed
marksamman opened this issue Apr 29, 2014 · 1 comment
Closed

db.QueryRow doesn't work with the golang.org example #252

marksamman opened this issue Apr 29, 2014 · 1 comment

Comments

@marksamman
Copy link

The documentation on golang.org for the database/sql package shows an example using ? as a placeholder in QueryRow, lib/pq is not compatible with that example because it uses $n.

See: http://golang.org/pkg/database/sql/#DB.QueryRow

@johto
Copy link
Contributor

johto commented Apr 29, 2014

While this is a shame, the status quo is unlikely to budge. See #233.

@johto johto closed this as completed Apr 29, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants