File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -114,8 +114,8 @@ columns in the destination table.
114
114
115
115
Set ` SourceOrdinal ` to the index of the source column to map. Set ` DestinationColumn ` to
116
116
either the name of a column in the destination table, or the name of a user-defined variable.
117
- If a user-defined variable, you can use ` Expression ` to specify a MySQL expression that sets
118
- a destination column.
117
+ If a user-defined variable, you can use ` Expression ` to specify a MySQL expression that assigns
118
+ its value to destination column.
119
119
120
120
Source columns that don't have an entry in ` MySqlBulkCopy.ColumnMappings ` will be ignored
121
121
(unless the ` ColumnMappings ` collection is empty, in which case all columns will be mapped
@@ -137,6 +137,6 @@ new MySqlBulkCopyColumnMapping
137
137
{
138
138
SourceOrdinal = 0 ,
139
139
DestinationColumn = " @tmp" ,
140
- Expression = " SET column_value = @tmp * 2" ,
140
+ Expression = " column_value = @tmp * 2" ,
141
141
},
142
142
```
You can’t perform that action at this time.
0 commit comments