@clairejs/server 3.28.8 → 3.28.9
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/README.md
CHANGED
|
@@ -64,7 +64,12 @@ export class ModelRepository extends AbstractRepository {
|
|
|
64
64
|
}
|
|
65
65
|
if (fieldMetadata.pk || fieldMetadata.fk || fieldMetadata.isSymbol) {
|
|
66
66
|
//-- belongs to array of ids
|
|
67
|
-
|
|
67
|
+
if (queryValue === null) {
|
|
68
|
+
result.push({ _eq: { [fieldName]: null } });
|
|
69
|
+
}
|
|
70
|
+
else {
|
|
71
|
+
result.push({ _in: { [fieldName]: queryValue } });
|
|
72
|
+
}
|
|
68
73
|
}
|
|
69
74
|
else {
|
|
70
75
|
if (fieldMetadata.enum) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clairejs/server",
|
|
3
|
-
"version": "3.28.
|
|
3
|
+
"version": "3.28.9",
|
|
4
4
|
"description": "Claire server NodeJs framework written in Typescript.",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"@clairejs/client": "^3.5.1",
|
|
38
|
-
"@clairejs/core": "^3.9.
|
|
38
|
+
"@clairejs/core": "^3.9.4",
|
|
39
39
|
"@clairejs/orm": "^3.17.2"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|