We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0751396 commit 9c8e7b9Copy full SHA for 9c8e7b9
1 file changed
docs/_jsdoc/tutorials/using-iterators.md
@@ -68,10 +68,10 @@ interface KV {
68
}
69
70
interface KeyModification {
71
- is_delete: boolean;
+ isDelete: boolean;
72
value: ProtobufBytes;
73
timestamp: Timestamp;
74
- tx_id: string;
+ txId: string;
75
getIsDelete(): boolean;
76
getValue(): ProtobufBytes;
77
getTimestamp(): Timestamp;
@@ -152,9 +152,9 @@ const results = [];
152
for await (const keyMod of promiseOfIterator) {
153
const resp = {
154
timestamp: keyMod.timestamp,
155
- txid: keyMod.tx_id
+ txid: keyMod.txId
156
157
- if (keyMod.is_delete) {
+ if (keyMod.isDelete) {
158
resp.data = 'KEY DELETED';
159
} else {
160
resp.data = keyMod.value.toString('utf8');
0 commit comments