-
Notifications
You must be signed in to change notification settings - Fork 66
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
My code makes de select and prints <nil> for each row #260
Comments
What is If you know the column types, then
|
RowP is => rowP := make([]interface{}, 3) |
I can return from rows.Scan to and struct? Each field has the name os struct element. var Tabs2 tabspreco Is that possivel? |
or use a helper like github.com/jmoiron/sqlx or github.com/kisielk/sqlstruct |
Thanks alot. |
My code makes de select and prints for each row
[CODE]
db, err := sql.Open("ora", "user/[email protected]:1521/ORCL")
defer db.Close()
[/CODE]
How to get columns values?
The text was updated successfully, but these errors were encountered: