$slice operator does not work for projection

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor - P4
    • 1.18.0
    • Affects Version/s: 1.14.7
    • Component/s: Compass
    • None
    • Environment:
      MacOS
    • Iteration Yuca
    • Needed
    • Hide

      If there's a different way of executing $slice in compass, we should mention it somewhere in our docs.

      Show
      If there's a different way of executing $slice in compass, we should mention it somewhere in our docs.
    • None

      Was also tried by customer on windows, using latest release from our download center for compass.

      $slice for projection which works fine from mongo shell, gives error as malformed(thereby not allowing the query to be executed) in compass. Screenshots attached.

            Assignee:
            Durran Jordan
            Reporter:
            Sanjay Gianchandani
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: