From 02ce7280f89a1672d6d15d179f4757c769c26e4d Mon Sep 17 00:00:00 2001 From: Andrew Benton Date: Tue, 5 Sep 2023 22:16:05 -0700 Subject: [PATCH] docs: minor updates to insert howto --- docs/howto/insert.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/howto/insert.md b/docs/howto/insert.md index cc923e0559..ae892998ec 100644 --- a/docs/howto/insert.md +++ b/docs/howto/insert.md @@ -165,12 +165,11 @@ sql: ### MySQL -### MySQL supports a similar feature using [LOAD DATA](https://dev.mysql.com/doc/refman/8.0/en/load-data.html). - +MySQL supports a similar feature using [LOAD DATA](https://dev.mysql.com/doc/refman/8.0/en/load-data.html). Errors and duplicate keys are treated as warnings and insertion will -continue, even without an error for some cases. Use this in a transaction -and use SHOW WARNINGS to check for any problems and roll back if you want to. +continue, even without an error for some cases. Use this in a transaction +and use SHOW WARNINGS to check for any problems and roll back if necessary. Check the [error handling](https://dev.mysql.com/doc/refman/8.0/en/load-data.html#load-data-error-handling) documentation for more information. @@ -199,6 +198,6 @@ sql: go: package: "db" sql_package: "database/sql" - sql_driver: "github.com/go-sql-driver/mysql" + sql_driver: "github.com/go-sql-driver/mysql" out: "db" ``` \ No newline at end of file