[GODRIVER-905] Update/Replace method documentation should specify update document restrictions Created: 26/Mar/19 Updated: 07/Aug/20 Resolved: 07/Aug/20 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | Documentation |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | David Golden | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | isabella-close | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
The shell (and some drivers) are specific that UpdateOne/UpdateMany must use update operators and that ReplaceOne must not. To help users use the CRUD operations correctly and without confusion, the driver should similarly state such restrictions in the documentation. |