feat: adds some test cases where they were missing, and some minor readme additions
This commit is contained in:
parent
bb57b23224
commit
d3b4bef531
24 changed files with 180 additions and 1 deletions
9
testdata/restore__merge__ok.ct
vendored
Normal file
9
testdata/restore__merge__ok.ct
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# Merge import updates existing entries and adds new ones
|
||||
$ pda set existing@mrg old-value
|
||||
$ fecho dumpfile {"key":"existing","value":"updated","encoding":"text"} {"key":"new","value":"hello","encoding":"text"}
|
||||
$ pda restore mrg --file dumpfile
|
||||
ok restored 2 entries into @mrg
|
||||
$ pda get existing@mrg
|
||||
updated
|
||||
$ pda get new@mrg
|
||||
hello
|
||||
Loading…
Add table
Add a link
Reference in a new issue