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

Sets are different than arrays, or will be : "reference/operator/addToSet.txt"

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • Server_Docs_20231030
    • Affects Version/s: None
    • Component/s: manual
    • Labels:
      None

      We should note that $addToSet (and sets in general) are not ordered but just guarantee that there are no dups. We should note that the document will not nec. be put at the end, or in any specific place. This makes it a bit different than $push/$pushAll (the other array modifiers).

            Assignee:
            sam.kleinman Sam Kleinman (Inactive)
            Reporter:
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              11 years, 12 weeks, 4 days ago