Enum
insert-mode
Selects the behavior for an insert when the new key matches an existing key.
enum insert-mode {
overwrite,
add,
append,
prepend,
}Cases
| Case | Description |
|---|---|
| overwrite | Updates the existing key's value by overwriting it with the new value. |
| add | Fails, leaving the existing key's value unmodified. |
| append | Updates the existing key's value by appending the new value to it. |
| prepend | Updates the existing key's value by prepending the new value to it. |