@sprucelabs/data-stores 30.0.62 → 30.0.63
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.
@@ -297,7 +297,8 @@ class NeDbDatabase extends AbstractMutexer_1.default {
|
|
297
297
|
if (filter) {
|
298
298
|
let shouldSkip = false;
|
299
299
|
for (const key in filter) {
|
300
|
-
if (values[key] ===
|
300
|
+
if (values[key] === null ||
|
301
|
+
values[key] === NULL_PLACEHOLDER ||
|
301
302
|
typeof values[key] === 'undefined') {
|
302
303
|
shouldSkip = true;
|
303
304
|
break;
|
@@ -332,7 +332,8 @@ export default class NeDbDatabase extends AbstractMutexer {
|
|
332
332
|
if (filter) {
|
333
333
|
let shouldSkip = false;
|
334
334
|
for (const key in filter) {
|
335
|
-
if (values[key] ===
|
335
|
+
if (values[key] === null ||
|
336
|
+
values[key] === NULL_PLACEHOLDER ||
|
336
337
|
typeof values[key] === 'undefined') {
|
337
338
|
shouldSkip = true;
|
338
339
|
break;
|