Skip to content
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

how to select a table when i don't know its structure?I just want rows of data.That means I need 'rows.lastcols' #1109

Open
miracle81212 opened this issue Feb 28, 2023 · 0 comments

Comments

@miracle81212
Copy link

connStr := ""
db, err := sql.Open("postgres", connStr)
rows, err := db.Query("SELECT * FROM schema.table")

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

1 participant