Another problem is that INSERT is not a query. Use QueryContext for SELECT
statements, and ExecContext for everything else.
muhorto...@gmail.com a következőt írta (2021. október 2., szombat, 12:52:44
UTC+2):
> Just started making my first web, I don't quite understand the Query Row
> function.
If you want to know what the error is, I suggest you print it. That will
give you more information. It will also help anyone trying to help you.
Also, I notice that you *probably *have
"defer conn.Close(context.Background())" in the wrong place.* I don't use
pgx*, but the normal paradigm is to