Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-5402

In-memory pluck, distinct should support dot-notation for field path traversal

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 8.0.1, 7.5.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Minor Change

      In-memory pluck, distinct, map etc. should support dot-notation for field path traversal, so that they match the behavior of Contextual::Mongo.

      Embedded fields and localized field cases should be covered:

      • pluck("descriptions.en", "emdedded.x")
      • distinct("descriptions.en")
      • etc

            Assignee:
            neil.shweky@mongodb.com Neil Shweky (Inactive)
            Reporter:
            shields@tablecheck.com Johnny Shields
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: