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