LINQ3: Translate array field indexed by constant a[n] to "a.n" in filters

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 array field indexed by constant a[n] to "a.n" in filters

      Example:

      collection.Where(x => x.A[1] == 2)
      

      translates to:

      { $match : { "A.1" : 2 } }
      

      This is only for filters. This notation doesn't work in aggregation expressionss.

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

              Created:
              Updated:
              Resolved: