inibase 1.1.25 → 1.1.27
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/dist/index.js +4 -7
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1020,13 +1020,8 @@ export default class Inibase {
|
|
|
1020
1020
|
? formatedSearchResult
|
|
1021
1021
|
: Utils.deepMerge(RETURN, formatedSearchResult);
|
|
1022
1022
|
this.totalItems.set(`${tableName}-${key}`, totalLines);
|
|
1023
|
-
if (linesNumbers?.size && allTrue)
|
|
1024
|
-
|
|
1025
|
-
for (const lineNumber of linesNumbers)
|
|
1026
|
-
searchIn.add(lineNumber);
|
|
1027
|
-
else
|
|
1028
|
-
searchIn = linesNumbers;
|
|
1029
|
-
}
|
|
1023
|
+
if (linesNumbers?.size && allTrue)
|
|
1024
|
+
searchIn = linesNumbers;
|
|
1030
1025
|
}
|
|
1031
1026
|
else if (allTrue)
|
|
1032
1027
|
return null;
|
|
@@ -1051,6 +1046,8 @@ export default class Inibase {
|
|
|
1051
1046
|
if (!Object.keys(RETURN).length)
|
|
1052
1047
|
RETURN = {};
|
|
1053
1048
|
}
|
|
1049
|
+
else
|
|
1050
|
+
RETURN = {};
|
|
1054
1051
|
}
|
|
1055
1052
|
return Object.keys(RETURN).length ? RETURN : null;
|
|
1056
1053
|
}
|