Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-3356

LINQ3: Handle expressions that translate to $in with array field

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

      The following expressions:

      f.Any(i => a.Contains(i))
      a.Any(i => f.Contains(i))

      where f is an array field and a is an array constant value both should be translated to:

      { f : { $in : a } }
      

            Assignee:
            robert@mongodb.com Robert Stam
            Reporter:
            robert@mongodb.com Robert Stam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: