Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-10854

$addToSet missing information on the order (aggregation)

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Works as Designed
    • Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • None
    • manual, Server
    • None

    Description

      In the $addToSet documentation is reported that this operator does not guarantee a particular ordering of elements in the modified set.

      The same statement is not reported in the aggregation documentation

      Could be a good idea to repeat the statement also in the aggregation section.

      Attachments

        Activity

          People

            steve.renaker@mongodb.com Steve Renaker (Inactive)
            renato.riccio@mongodb.com Renato Riccio
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              6 years, 3 weeks, 1 day ago