@c8y/client 1018.202.0 → 1018.204.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.
@@ -4653,25 +4653,25 @@
4653
4653
  if (typeof operand === 'object' && operand !== null) {
4654
4654
  return this.buildQueryFilter(operand, contextKey);
4655
4655
  }
4656
- return `${contextKey} eq ${this.quoteString(operand)}`;
4656
+ return `${this.quoteString(contextKey)} eq ${this.quoteString(operand)}`;
4657
4657
  },
4658
4658
  __gt: (operand, contextKey) => {
4659
- return `${contextKey} gt ${this.quoteString(operand)}`;
4659
+ return `${this.quoteString(contextKey)} gt ${this.quoteString(operand)}`;
4660
4660
  },
4661
4661
  __ge: (operand, contextKey) => {
4662
- return `${contextKey} ge ${this.quoteString(operand)}`;
4662
+ return `${this.quoteString(contextKey)} ge ${this.quoteString(operand)}`;
4663
4663
  },
4664
4664
  __lt: (operand, contextKey) => {
4665
- return `${contextKey} lt ${this.quoteString(operand)}`;
4665
+ return `${this.quoteString(contextKey)} lt ${this.quoteString(operand)}`;
4666
4666
  },
4667
4667
  __le: (operand, contextKey) => {
4668
- return `${contextKey} le ${this.quoteString(operand)}`;
4668
+ return `${this.quoteString(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 `${contextKey} eq ${this.quoteString(op)}`;
4674
+ return `${this.quoteString(contextKey)} eq ${this.quoteString(op)}`;
4675
4675
  });
4676
4676
  return this.glue(stmts, 'or');
4677
4677
  },