[GODRIVER-330] Create Collection using Database's read and write selectors Created: 04/Apr/18 Updated: 06/Apr/18 Resolved: 06/Apr/18 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | None |
| Affects Version/s: | 0.0.2 |
| Fix Version/s: | 0.0.3 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Kristofer Brandow (Inactive) | Assignee: | Kristofer Brandow (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Currently the read and write selectors for a new collection are being created in the newCollection function. The newDatabase method creates the same selectors, we should instead just use the ones from the Database instead of creating new ones. |
| Comments |
| Comment by Githook User [ 06/Apr/18 ] |
|
Author: {'email': 'kris@mongodb.com', 'name': 'Kris Brandow', 'username': 'skriptble'}Message: Use description package and share selectors Use description.WriteSelector for write selectors. Change-Id: I8b5ef75f265840f34a2c7bdedc9636eaac571e94 |
| Comment by Kristofer Brandow (Inactive) [ 05/Apr/18 ] |
|
Code Review: https://review.gerrithub.io/c/406661/. |