Skip to content

Commit a78f97f

Browse files
docs: minor updates to insert howto (#2701)
1 parent ce8696f commit a78f97f

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

docs/howto/insert.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -165,12 +165,11 @@ sql:
165165
166166
### MySQL
167167
168-
### MySQL supports a similar feature using [LOAD DATA](https://dev.mysql.com/doc/refman/8.0/en/load-data.html).
169-
168+
MySQL supports a similar feature using [LOAD DATA](https://dev.mysql.com/doc/refman/8.0/en/load-data.html).
170169
171170
Errors and duplicate keys are treated as warnings and insertion will
172-
continue, even without an error for some cases. Use this in a transaction
173-
and use SHOW WARNINGS to check for any problems and roll back if you want to.
171+
continue, even without an error for some cases. Use this in a transaction
172+
and use SHOW WARNINGS to check for any problems and roll back if necessary.
174173
175174
Check the [error handling](https://dev.mysql.com/doc/refman/8.0/en/load-data.html#load-data-error-handling) documentation for more information.
176175
@@ -199,6 +198,6 @@ sql:
199198
go:
200199
package: "db"
201200
sql_package: "database/sql"
202-
sql_driver: "github.com/go-sql-driver/mysql"
201+
sql_driver: "github.com/go-sql-driver/mysql"
203202
out: "db"
204203
```

0 commit comments

Comments
 (0)