Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-1616

MongoDB Shell for JVM not support distinct, remove and findAndModify

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • No version
    • Affects Version/s: 2.0.2
    • Component/s: Java Shell
    • None
    • Environment:
      OS: Windows
      node.js / npm versions: 8.19.4
      Additional info: none
    • Not Needed
    • Developer Tools

      Problem Statement

      MongoDB Shell for JVM not support distinct, remove and findAndModify.

      Steps to Reproduce

      Build the jar like MongoDB Shell,then use the jar to execute js code 

      db.collection.explain().distinct() 

      Expected Results

      The explain result for distinct。

      Actual Results

      The distinct result,i.e. an array result。

            Assignee:
            Unassigned Unassigned
            Reporter:
            1502138311@qq.com Zhenliang Su
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: