-
Is it possible to use pgx.RowToStructByName with QueryRow for case when need to get only one row? |
Beta Was this translation helpful? Give feedback.
Answered by
jackc
Feb 8, 2023
Replies: 1 comment 2 replies
-
You can use |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
stasvo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use
Query
andpgx.CollectOneRow
.