LINQ3: Translate string[i] == c to aggregation expression

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 2.14.0
    • Affects Version/s: None
    • Component/s: LINQ3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Translate:

      s[i] == 'c'
      

      to:

      { $eq : [{ $subStrCP : [<s>, <i>, 1] }, "c"] }
      

      Similarly for other comparison operators (not equal etc...).

      The comparand must be a char constant (it will be converted to a one-character string during translation because the server doesn't have the char data type).

            Assignee:
            Robert Stam
            Reporter:
            Robert Stam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: