[CSHARP-545] Create document copies in a collection without pulling the document out Created: 17/Aug/12 Updated: 05/Apr/19 Resolved: 27/Aug/12 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Minor - P4 |
| Reporter: | Zarian Waheed | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | question | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Is there a way to create a copy of an existing document without pulling out the document to the application. Currently this is what we are doing: 1) Read the existing document. Since our documents can be big, so we were wondering if we can do this: 1) Call some function with a document id and the fields we want to change. This way we are hoping to avoid pulling the document out of the mongo to the application. We think we can gain some performance out of it. Is this supported? (Maybe through a javascript function). |
| Comments |
| Comment by Craig Wilson [ 17/Aug/12 ] |
|
First off, please use the google groups for questions like this. You can get to it here: https://groups.google.com/forum/#!forum/mongodb-user Answer: |