Write query output to a writer with query parameters #1539
Unanswered
vhakulinen
asked this question in
Q&A
Replies: 1 comment 3 replies
-
There is nothing that directly uses an |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there any way to write the output of a query with query parameters directly to a
io.Writer
without parsing it first in some golang type? I've noticed that here ispgconn.Conn.CopyTo
which is close what I want, but it doesn't support passing in any query parameters and would require to do string templating which leads into a shaky ground.Beta Was this translation helpful? Give feedback.
All reactions