File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -171,17 +171,15 @@ Atomic multi-key write (all entries are persisted or none):
171171
172172```
173173 req = {
174- skvList : [{
174+ keys : [{
175175 key: 'key1',
176- payload: 'value1',
177- timestamp: Math.floor(Date.now()/100),
176+ payload: 'value1'
178177 },{
179178 key: 'key2',
180- payload: 'value2',
181- timestamp: Math.floor(Date.now()/100),
179+ payload: 'value2'
182180 }]
183181 }
184- res = await cl.setBatchSV (req)
182+ res = await cl.setBatch (req)
185183```
186184
187185Atomic multi-key read (all entries are retrieved or none):
@@ -193,7 +191,7 @@ Atomic multi-key read (all entries are retrieved or none):
193191 key: 'key2',
194192 }],
195193 }
196- res = await cl.getBatchSV (req)
194+ res = await cl.getBatch (req)
197195```
198196
199197### Closing the client
You can’t perform that action at this time.
0 commit comments