@nxtedition/rocksdb 15.2.0 → 15.2.2
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/binding.cc
CHANGED
|
@@ -442,13 +442,14 @@ class Iterator final : public BaseIterator {
|
|
|
442
442
|
keyEncoding_(keyEncoding),
|
|
443
443
|
valueEncoding_(valueEncoding),
|
|
444
444
|
unsafe_(unsafe) {
|
|
445
|
-
if (keyFilter
|
|
445
|
+
if (keyFilter) {
|
|
446
446
|
keyFilter_.emplace(*keyFilter);
|
|
447
447
|
if (!keyFilter_->ok()) {
|
|
448
448
|
throw std::invalid_argument("Invalid key filter regex");
|
|
449
449
|
}
|
|
450
450
|
}
|
|
451
|
-
|
|
451
|
+
|
|
452
|
+
if (valueFilter) {
|
|
452
453
|
valueFilter_.emplace(*valueFilter);
|
|
453
454
|
if (!valueFilter_->ok()) {
|
|
454
455
|
throw std::invalid_argument("Invalid value filter regex");
|
|
@@ -537,10 +538,6 @@ class Iterator final : public BaseIterator {
|
|
|
537
538
|
readOptions.ignore_range_deletions = false;
|
|
538
539
|
NAPI_STATUS_THROWS(GetProperty(env, options, "ignoreRangeDeletions", readOptions.ignore_range_deletions));
|
|
539
540
|
|
|
540
|
-
if (!values) {
|
|
541
|
-
readOptions.allow_unprepared_value = true;
|
|
542
|
-
}
|
|
543
|
-
|
|
544
541
|
// uint32_t timeout = 0;
|
|
545
542
|
// NAPI_STATUS_THROWS(GetProperty(env, options, "timeout", timeout));
|
|
546
543
|
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|