befly 3.18.7 → 3.18.8
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/lib/sqlBuilder/parser.js +3 -0
- package/package.json +2 -2
package/lib/sqlBuilder/parser.js
CHANGED
|
@@ -295,6 +295,9 @@ function buildOperatorNode(fieldName, operator, value) {
|
|
|
295
295
|
case "leftLike":
|
|
296
296
|
case "$rightLike":
|
|
297
297
|
case "rightLike":
|
|
298
|
+
if (isString(value) && value.trim() === "") {
|
|
299
|
+
return null;
|
|
300
|
+
}
|
|
298
301
|
validateParam(value);
|
|
299
302
|
return { type: "op", field: fieldName, operator: operator, value: value };
|
|
300
303
|
default:
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "befly",
|
|
3
|
-
"version": "3.18.
|
|
4
|
-
"gitHead": "
|
|
3
|
+
"version": "3.18.8",
|
|
4
|
+
"gitHead": "28fcd2cee85330bc97d228712c4cbb2252ee0a06",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "Befly - 为 Bun 专属打造的 JavaScript API 接口框架核心引擎",
|
|
7
7
|
"keywords": [
|