Another way to query with parameters #1965
-
|
We know to make query with parameters, we write code like this: repo.Pgx.QueryRow(ctx, query, ...arg) So, there is another way to query with named parameter? Like Thanks in advance |
Beta Was this translation helpful? Give feedback.
Answered by
jackc
Mar 26, 2024
Replies: 1 comment 1 reply
-
|
See https://pkg.go.dev/github.com/jackc/pgx/v5#NamedArgs. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
marcopolooo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See https://pkg.go.dev/github.com/jackc/pgx/v5#NamedArgs.