@visorcraft/mongreldb 0.25.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 +10 -0
- package/package.json +1 -1
|
Binary file
|
package/native.d.ts
CHANGED
|
@@ -496,4 +496,14 @@ export declare class RemoteDatabase {
|
|
|
496
496
|
triggers(): string
|
|
497
497
|
trigger(name: string): string
|
|
498
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
|
|
499
509
|
}
|
package/package.json
CHANGED