Skip to content

Commit d6b533d

Browse files
Update connect-go.md
Correcting typo
1 parent 82d88a5 commit d6b533d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/mysql/connect-go.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ func main() {
284284
rows, err := db.Exec("UPDATE inventory SET quantity = ? WHERE name = ?", 200, "banana")
285285
checkError(err)
286286
rowCount, err := rows.RowsAffected()
287-
fmt.Printf("Deleted %d row(s) of data.\n", rowCount)
287+
fmt.Printf("Updated %d row(s) of data.\n", rowCount)
288288
fmt.Println("Done.")
289289
}
290290
```

0 commit comments

Comments
 (0)