Insert represents an INSERT or REPLACE statement. Per the MySQL docs, http://dev.mysql.com/doc/refman/5.7/en/replace.html Replace is the counterpart to `INSERT IGNORE`, and works exactly like a normal INSERT except if the row exists. In that case it first deletes the row and re-inserts with new valu
| 372 | // of the implications the deletion part may have on the original parser. |
| 373 | // If you add fields here, consider adding them to calls to validateSubquerySamePlan. |
| 374 | type Insert struct { |
| 375 | Action string |
| 376 | Comments Comments |
| 377 | Ignore string |
| 378 | Table TableName |
| 379 | Partitions Partitions |
| 380 | Columns Columns |
| 381 | Rows InsertRows |
| 382 | OnDup OnDup |
| 383 | } |
| 384 | |
| 385 | // DDL strings. |
| 386 | const ( |
nothing calls this directly
no outgoing calls
no test coverage detected