[CXX-1240] Investigate making mongocxx::gridfs::bucket constructor private Created: 02/Mar/17 Updated: 24/Mar/17 Resolved: 24/Mar/17 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | API |
| Affects Version/s: | None |
| Fix Version/s: | 3.2.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Samuel Rossi (Inactive) | Assignee: | J Rassi |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
An alternative to having a public constructor for mongocxx::gridfs::bucket would be to have a method on mongocxx::database that returns a bucket (similar to how collections work). We should decide if this is a better API, and if so, implement it. |
| Comments |
| Comment by Githook User [ 24/Mar/17 ] |
|
Author: {u'username': u'jrassi', u'name': u'J. Rassi', u'email': u'rassi@10gen.com'}Message: This replaces the two-argument gridfs::bucket constructor as the |