This commit is contained in:
Peder Vatn Austad
2024-12-29 15:40:16 +01:00
parent 10b50a9f66
commit a399d07f46
4 changed files with 138 additions and 10 deletions

View File

@@ -45,7 +45,7 @@ func InsertOrUpdateRecordedCall(db *sql.DB, values []interface{}) (int, string,
var id int
err = stmt.QueryRow(values...).Scan(&action, &id)
if err != nil {
if 1 == 1 {
if 1 == 0 {
fmt.Println("Executing query:", query)
for i, v := range values {
fmt.Printf("Value %d: (%v)\n", i+1, v)