@visorcraft/mongreldb 0.24.0 → 0.26.0
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/mongreldb.linux-x64-gnu.node +0 -0
- package/native.d.ts +16 -1
- package/package.json +1 -1
|
Binary file
|
package/native.d.ts
CHANGED
|
@@ -17,7 +17,12 @@ export const enum IndexKindSpec {
|
|
|
17
17
|
FmIndex = 1,
|
|
18
18
|
Ann = 2,
|
|
19
19
|
Sparse = 3,
|
|
20
|
-
MinHash = 4
|
|
20
|
+
MinHash = 4,
|
|
21
|
+
/**
|
|
22
|
+
* Learned zonemap (PGM) for ordered range predicates. Engine SQL aliases:
|
|
23
|
+
* `brin`, `learned_range`, `range`.
|
|
24
|
+
*/
|
|
25
|
+
LearnedRange = 5
|
|
21
26
|
}
|
|
22
27
|
export interface ColumnSpec {
|
|
23
28
|
id: number
|
|
@@ -491,4 +496,14 @@ export declare class RemoteDatabase {
|
|
|
491
496
|
triggers(): string
|
|
492
497
|
trigger(name: string): string
|
|
493
498
|
callProcedure(name: string, opts?: ProcedureCallOptions | undefined | null): string
|
|
499
|
+
/**
|
|
500
|
+
* Compact every table on the daemon (POST /compact). Returns
|
|
501
|
+
* `{ compacted, skipped }`.
|
|
502
|
+
*/
|
|
503
|
+
compact(): CompactStats
|
|
504
|
+
/**
|
|
505
|
+
* Compact a single table on the daemon (POST /tables/{name}/compact).
|
|
506
|
+
* Returns `true` if compacted, `false` if skipped (fewer than 2 runs).
|
|
507
|
+
*/
|
|
508
|
+
compactTable(name: string): boolean
|
|
494
509
|
}
|
package/package.json
CHANGED