@c8y/client 1018.198.0 → 1018.200.0
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/bundles/client.umd.js +6 -6
- package/lib/bundles/client.umd.js.map +1 -1
- package/lib/bundles/client.umd.min.js +1 -1
- package/lib/bundles/client.umd.min.js.map +1 -1
- package/lib/cjs/src/core/QueriesUtil.js +6 -6
- package/lib/cjs/src/core/QueriesUtil.js.map +1 -1
- package/lib/esm2015/src/core/QueriesUtil.js +6 -6
- package/lib/esm2015/src/core/QueriesUtil.js.map +1 -1
- package/package.json +1 -1
|
@@ -4653,25 +4653,25 @@
|
|
|
4653
4653
|
if (typeof operand === 'object' && operand !== null) {
|
|
4654
4654
|
return this.buildQueryFilter(operand, contextKey);
|
|
4655
4655
|
}
|
|
4656
|
-
return `${
|
|
4656
|
+
return `${contextKey} eq ${this.quoteString(operand)}`;
|
|
4657
4657
|
},
|
|
4658
4658
|
__gt: (operand, contextKey) => {
|
|
4659
|
-
return `${
|
|
4659
|
+
return `${contextKey} gt ${this.quoteString(operand)}`;
|
|
4660
4660
|
},
|
|
4661
4661
|
__ge: (operand, contextKey) => {
|
|
4662
|
-
return `${
|
|
4662
|
+
return `${contextKey} ge ${this.quoteString(operand)}`;
|
|
4663
4663
|
},
|
|
4664
4664
|
__lt: (operand, contextKey) => {
|
|
4665
|
-
return `${
|
|
4665
|
+
return `${contextKey} lt ${this.quoteString(operand)}`;
|
|
4666
4666
|
},
|
|
4667
4667
|
__le: (operand, contextKey) => {
|
|
4668
|
-
return `${
|
|
4668
|
+
return `${contextKey} le ${this.quoteString(operand)}`;
|
|
4669
4669
|
},
|
|
4670
4670
|
__in: (operand, contextKey) => {
|
|
4671
4671
|
const stmts = operand
|
|
4672
4672
|
.filter(op => !!op)
|
|
4673
4673
|
.map(op => {
|
|
4674
|
-
return `${
|
|
4674
|
+
return `${contextKey} eq ${this.quoteString(op)}`;
|
|
4675
4675
|
});
|
|
4676
4676
|
return this.glue(stmts, 'or');
|
|
4677
4677
|
},
|