Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-3455

$slice operator does not work for projection

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.18.0
    • Affects Version/s: 1.14.7
    • Component/s: Compass
    • Labels:
      None
    • Environment:
      MacOS
    • 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.
    • Iteration Yuca

      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@mongodb.com Durran Jordan
            Reporter:
            sanjay.gianchandani@mongodb.com Sanjay Gianchandani
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: