You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/configuration.md
+1-21Lines changed: 1 addition & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -140,29 +140,9 @@ for details of each.
140
140
* `once`: boolean, run once and exit
141
141
* `compression`: string, the compression to use
142
142
* `compact`: boolean, compact the dump
143
-
* `includeGeneratedColumns`: boolean, include columns marked as `GENERATED` in the dump (does not include `VIRTUAL` columns)
143
+
* `includeGeneratedColumns`: boolean, include columns marked as `GENERATED` in the dump (does not include `VIRTUAL` columns), when set true, it makes the dump include the generated/default timestamp values instead of relying on the default expressions when restoring.
144
144
* `triggersAndFunctions`: boolean, include triggers and functions and procedures in the dump
145
145
* `maxAllowedPacket`: int, max packet size
146
-
147
-
When `includeGeneratedColumns` is enabled, columns that are defined with a `GENERATED` attribute or have a default expression
148
-
will be included in the row data that is emitted as `INSERT` statements in the dump. Note that `VIRTUAL` columns remain excluded
149
-
because they are computed and cannot be restored from dumped values.
150
-
151
-
Usage example:
152
-
153
-
Suppose a table has a column defined as:
154
-
155
-
```sql
156
-
`create_time` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
157
-
```
158
-
159
-
When `includeGeneratedColumns` is turned on, rows for this table will contain the `create_time` value in the `INSERT` statements, e.g.:
0 commit comments