The documentation indicates that the -o option can be given to the write command to overwrite the given key if it exists.
The default configuration of a cursor defines overwrite as true by default, hence whether -o is given or not, it has no effect.
We may want to do the opposite, i.e have an option that does not overwrite if the key already exists. However, if this default value of overwrite changes later, we will need to add the -o back... We could have -o [false/true]?
- duplicates
-
WT-10730 Fix the overwrite/append options for the util write command
- Closed