We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 865f11f + aef8e71 commit 6a24fcaCopy full SHA for 6a24fca
src/backend/storage.ts
@@ -28,13 +28,7 @@ export enum Order {
28
Descending = 2,
29
}
30
31
-export interface IIterStorage {
32
- get(key: Uint8Array): Uint8Array | null;
33
-
34
- set(key: Uint8Array, value: Uint8Array): void;
35
36
- remove(key: Uint8Array): void;
37
+export interface IIterStorage extends IStorage {
38
all(iterator_id: number): Array<Record>;
39
40
scan(start: Uint8Array | null, end: Uint8Array | null, order: Order): number; // Uint32
0 commit comments