@c8y/client 1017.0.193 → 1017.0.195
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
|
@@ -4648,25 +4648,25 @@
|
|
|
4648
4648
|
if (typeof operand === 'object' && operand !== null) {
|
|
4649
4649
|
return this.buildQueryFilter(operand, contextKey);
|
|
4650
4650
|
}
|
|
4651
|
-
return `${
|
|
4651
|
+
return `${contextKey} eq ${this.quoteString(operand)}`;
|
|
4652
4652
|
},
|
|
4653
4653
|
__gt: (operand, contextKey) => {
|
|
4654
|
-
return `${
|
|
4654
|
+
return `${contextKey} gt ${this.quoteString(operand)}`;
|
|
4655
4655
|
},
|
|
4656
4656
|
__ge: (operand, contextKey) => {
|
|
4657
|
-
return `${
|
|
4657
|
+
return `${contextKey} ge ${this.quoteString(operand)}`;
|
|
4658
4658
|
},
|
|
4659
4659
|
__lt: (operand, contextKey) => {
|
|
4660
|
-
return `${
|
|
4660
|
+
return `${contextKey} lt ${this.quoteString(operand)}`;
|
|
4661
4661
|
},
|
|
4662
4662
|
__le: (operand, contextKey) => {
|
|
4663
|
-
return `${
|
|
4663
|
+
return `${contextKey} le ${this.quoteString(operand)}`;
|
|
4664
4664
|
},
|
|
4665
4665
|
__in: (operand, contextKey) => {
|
|
4666
4666
|
const stmts = operand
|
|
4667
4667
|
.filter(op => !!op)
|
|
4668
4668
|
.map(op => {
|
|
4669
|
-
return `${
|
|
4669
|
+
return `${contextKey} eq ${this.quoteString(op)}`;
|
|
4670
4670
|
});
|
|
4671
4671
|
return this.glue(stmts, 'or');
|
|
4672
4672
|
},
|