@grafeo-db/wasm-lite 0.5.20 → 0.5.22
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/grafeo_wasm.d.ts +6 -0
- package/grafeo_wasm_bg.js +8 -0
- package/grafeo_wasm_bg.wasm +0 -0
- package/grafeo_wasm_bg.wasm.d.ts +1 -0
- package/package.json +1 -1
package/grafeo_wasm.d.ts
CHANGED
|
@@ -11,6 +11,12 @@
|
|
|
11
11
|
export class Database {
|
|
12
12
|
free(): void;
|
|
13
13
|
[Symbol.dispose](): void;
|
|
14
|
+
/**
|
|
15
|
+
* Clears all cached query plans.
|
|
16
|
+
*
|
|
17
|
+
* Forces re-parsing and re-optimization on next execution.
|
|
18
|
+
*/
|
|
19
|
+
clearPlanCache(): void;
|
|
14
20
|
/**
|
|
15
21
|
* Returns the number of edges in the database.
|
|
16
22
|
*/
|
package/grafeo_wasm_bg.js
CHANGED
|
@@ -23,6 +23,14 @@ export class Database {
|
|
|
23
23
|
const ptr = this.__destroy_into_raw();
|
|
24
24
|
wasm.__wbg_database_free(ptr, 0);
|
|
25
25
|
}
|
|
26
|
+
/**
|
|
27
|
+
* Clears all cached query plans.
|
|
28
|
+
*
|
|
29
|
+
* Forces re-parsing and re-optimization on next execution.
|
|
30
|
+
*/
|
|
31
|
+
clearPlanCache() {
|
|
32
|
+
wasm.database_clearPlanCache(this.__wbg_ptr);
|
|
33
|
+
}
|
|
26
34
|
/**
|
|
27
35
|
* Returns the number of edges in the database.
|
|
28
36
|
* @returns {number}
|
package/grafeo_wasm_bg.wasm
CHANGED
|
Binary file
|
package/grafeo_wasm_bg.wasm.d.ts
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
4
|
export const __wbg_database_free: (a: number, b: number) => void;
|
|
5
|
+
export const database_clearPlanCache: (a: number) => void;
|
|
5
6
|
export const database_edgeCount: (a: number) => number;
|
|
6
7
|
export const database_execute: (a: number, b: number, c: number, d: number) => void;
|
|
7
8
|
export const database_executeRaw: (a: number, b: number, c: number, d: number) => void;
|