[GODRIVER-294] Add builder for index management options Created: 21/Mar/18 Updated: 28/Oct/23 Resolved: 08/Jun/18 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | Administrative Commands |
| Affects Version/s: | 0.0.2 |
| Fix Version/s: | 0.0.7 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Kristofer Brandow (Inactive) | Assignee: | Roland Fong |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Stitch, neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Epic Link: | Options Management | ||||||||
| Description |
|
After some feedback from users, having the options for an IndexModel be a *bson.Document is difficult to work with. Implement a IndexOptionsBuilder that has helper methods for each IndexModel option and also implements a bson.Marshaler. |
| Comments |
| Comment by Githook User [ 08/Jun/18 ] |
|
Author: {'username': 'rfblue2', 'name': 'Roland Fong', 'email': 'rfblue2@gmail.com'}Message: Add IndexOptionsBuilder Change-Id: Iaee40b1c2e87e87ed14b09ac6e3511c2a7189f25 |
| Comment by Roland Fong [ 07/Jun/18 ] |
|
https://review.gerrithub.io/c/mongodb/mongo-go-driver/+/414034 |
| Comment by Kristofer Brandow (Inactive) [ 21/Mar/18 ] |
|
Possibly eric.daniels also brought up needing a more compact, bson.D like way of building documents. I think we should prioritize |
| Comment by David Golden [ 21/Mar/18 ] |
|
Would this also be addressed with a better API for document building, e.g. |