@ahmadmoussawi/webdb 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core/js/page.c.d.ts.map +1 -1
- package/dist/core/js/vm.c.d.ts.map +1 -1
- package/dist/core/wasm/embedded_wasm.d.ts +1 -1
- package/dist/core/wasm/embedded_wasm.d.ts.map +1 -1
- package/dist/host/api/query_builder.d.ts +30 -0
- package/dist/host/api/query_builder.d.ts.map +1 -1
- package/dist/host/api/webdb.d.ts.map +1 -1
- package/dist/host/driver/buffer_pool_driver.d.ts.map +1 -1
- package/dist/host/driver/transaction_coordinator.d.ts +22 -0
- package/dist/host/driver/transaction_coordinator.d.ts.map +1 -1
- package/dist/host/storage/io.d.ts +10 -0
- package/dist/host/storage/io.d.ts.map +1 -1
- package/dist/webdb.js +4316 -4000
- package/dist/webdb.js.map +1 -1
- package/dist/webdb.umd.cjs +2 -2
- package/dist/webdb.umd.cjs.map +1 -1
- package/package.json +1 -1
|
@@ -26,6 +26,16 @@ export declare class Io {
|
|
|
26
26
|
private in_flight_reads;
|
|
27
27
|
private coordinator;
|
|
28
28
|
setTransactionCoordinator(coordinator: any): void;
|
|
29
|
+
/**
|
|
30
|
+
* True when an autocommit flush of these pages must go through the WAL: at least one of them
|
|
31
|
+
* still has an older committed image in the WAL.
|
|
32
|
+
*/
|
|
33
|
+
shouldWriteThroughWal(pageIds: number[]): boolean;
|
|
34
|
+
/** Atomically logs several slots to the WAL as one committed mini-transaction. */
|
|
35
|
+
writeSlotsViaWal(slots: Array<{
|
|
36
|
+
slotIdx: number;
|
|
37
|
+
pageId: number;
|
|
38
|
+
}>): Promise<void>;
|
|
29
39
|
isInTransaction(): boolean;
|
|
30
40
|
/**
|
|
31
41
|
* Computes and writes the page-level CRC32 checksum into the slot header in linear memory.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"io.d.ts","sourceRoot":"","sources":["../../../src/host/storage/io.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