@nxtedition/rocksdb 7.0.32 → 7.0.33
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/index.js +6 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -241,7 +241,8 @@ class RocksLevel extends AbstractLevel {
|
|
|
241
241
|
since: options?.since ?? 0,
|
|
242
242
|
keys: options?.keys ?? true,
|
|
243
243
|
values: options?.values ?? true,
|
|
244
|
-
data: options?.data ?? true
|
|
244
|
+
data: options?.data ?? true,
|
|
245
|
+
column: options?.column ?? null
|
|
245
246
|
}
|
|
246
247
|
|
|
247
248
|
if (typeof options.since !== 'number') {
|
|
@@ -260,6 +261,10 @@ class RocksLevel extends AbstractLevel {
|
|
|
260
261
|
throw new TypeError("'data' must be nully or a boolean")
|
|
261
262
|
}
|
|
262
263
|
|
|
264
|
+
if (typeof options.column !== 'object') {
|
|
265
|
+
throw new TypeError("'column' must be nully or a object")
|
|
266
|
+
}
|
|
267
|
+
|
|
263
268
|
class Updates {
|
|
264
269
|
constructor (db, options) {
|
|
265
270
|
this.context = binding.updates_init(db[kContext], options)
|