[GODRIVER-182] Implement the Concat method for bson.Document Created: 18/Dec/17 Updated: 28/Oct/23 Resolved: 22/Jan/18 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 0.0.1 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Kristofer Brandow (Inactive) | Assignee: | Samuel Rossi (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Epic Link: | GODRIVER New BSON | ||||||||
| Description |
|
Implement the Combine method on the bson.Document type. This method will allow appending the elements of another BSON document to the current bson.Document. The combine method should support appending from another Document, from a []byte, and from an io.Reader. Unless there is a pressing reason to not support it, this method could be variadic to support combining multiple documents. |