Answer the question
In order to leave comments, you need to log in
How to find out about the success of the sql query in golang?
How to find out about the success of the sql query in golang? (DB-Mysql) The table has a unique index on one of the fields.
Let's say the user adds data, and this index already exists. You need to find out somehow that the Insert request did not work. How to do this?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question