Skip to content

Commit 9dfb5b7

Browse files
committed
Fix Expression documentation. Fixes #819
1 parent 48b0cfc commit 9dfb5b7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/content/api/mysql-bulk-copy.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ columns in the destination table.
114114

115115
Set `SourceOrdinal` to the index of the source column to map. Set `DestinationColumn` to
116116
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.
119119

120120
Source columns that don't have an entry in `MySqlBulkCopy.ColumnMappings` will be ignored
121121
(unless the `ColumnMappings` collection is empty, in which case all columns will be mapped
@@ -137,6 +137,6 @@ new MySqlBulkCopyColumnMapping
137137
{
138138
SourceOrdinal = 0,
139139
DestinationColumn = "@tmp",
140-
Expression = "SET column_value = @tmp * 2",
140+
Expression = "column_value = @tmp * 2",
141141
},
142142
```

0 commit comments

Comments
 (0)