db.coll.explain().findOne() does not exist

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Explain, Shell API
    • Environment:
      OS:
      node.js / npm versions:
      Additional info:
    • 2
    • None
    • Developer Tools

      It seems that explain().findOne() is not a function in mongosh, while other variants are. It seems it's not intentional so we might want to add it.

      It affects the IntelliJ plugin, but we patched it, so we are not in a rush to fix it for the plugin.

            Assignee:
            Unassigned
            Reporter:
            Kevin Mas Ruiz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: