@visorcraft/mongreldb 0.23.0 → 0.24.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 +12 -2
- package/package.json +1 -1
|
Binary file
|
package/native.d.ts
CHANGED
|
@@ -118,7 +118,13 @@ export const enum ConditionKind {
|
|
|
118
118
|
IsNotNull = 9,
|
|
119
119
|
FmContainsAll = 10,
|
|
120
120
|
SparseMatch = 11,
|
|
121
|
-
MinHashSimilar = 12
|
|
121
|
+
MinHashSimilar = 12,
|
|
122
|
+
/**
|
|
123
|
+
* Anchored prefix match `LIKE 'prefix%'` on a Bytes column with a bitmap
|
|
124
|
+
* index. Exact (no residual re-check) — the bitmap's distinct keys are
|
|
125
|
+
* enumerated and filtered by prefix. The prefix bytes arrive in `text`.
|
|
126
|
+
*/
|
|
127
|
+
BytesPrefix = 13
|
|
122
128
|
}
|
|
123
129
|
/**
|
|
124
130
|
* One predicate over the shared row-id space. Set the fields appropriate to
|
|
@@ -264,7 +270,11 @@ export declare class Database {
|
|
|
264
270
|
compactTable(name: string): boolean
|
|
265
271
|
/** Return the path passed to `withPath` / `open`. */
|
|
266
272
|
directory(): string
|
|
267
|
-
/**
|
|
273
|
+
/**
|
|
274
|
+
* Run a cross-table SQL query. Returns Arrow IPC bytes. The session is
|
|
275
|
+
* held for the database's lifetime, so session-scoped objects (views,
|
|
276
|
+
* prepared statements, the result cache) persist across calls.
|
|
277
|
+
*/
|
|
268
278
|
sql(sql: string): Promise<Buffer>
|
|
269
279
|
/** Flush + release. Optional — the `Database` also drops on GC. */
|
|
270
280
|
close(): void
|
package/package.json
CHANGED