[DOCS-1114] Sets are different than arrays, or will be : "reference/operator/addToSet.txt" Created: 12/Feb/13 Updated: 30/Oct/23 Resolved: 12/Feb/13 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | manual |
| Affects Version/s: | None |
| Fix Version/s: | Server_Docs_20231030 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Scott Hernandez (Inactive) | Assignee: | Sam Kleinman (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Participants: | |||||||||
| Days since reply: | 11 years, 1 week, 1 day ago | ||||||||
| Description |
|
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). |
| Comments |
| Comment by auto [ 12/Feb/13 ] |
|
Author: {u'date': u'2013-02-12T18:42:07Z', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}Message: |