[CXX-750] Rename database::command to database::run_command Created: 30/Nov/15 Updated: 11/Jan/16 Resolved: 04/Dec/15 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | API |
| Affects Version/s: | None |
| Fix Version/s: | 3.0.0-rc0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Andrew Morrow (Inactive) | Assignee: | Tess Avitabile (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Epic Link: | C++11 Driver MongoDB 3.2 |
| Description |
|
We need a way to allow users to execute commands directly. Currently, there does not appear to be such an interface. |
| Comments |
| Comment by Githook User [ 04/Dec/15 ] |
|
Author: {u'username': u'tessavitabile', u'name': u'Tess Avitabile', u'email': u'tess.avitabile@mongodb.com'}Message: |
| Comment by Tess Avitabile (Inactive) [ 03/Dec/15 ] |
| Comment by Andrew Morrow (Inactive) [ 30/Nov/15 ] |
|
Ah, for some reason I was looking for 'run_command' and of course couldn't find it. The CRUD spec makes no mention of such a thing, so I think we have the freedom to rename it if we choose. I think run_command would be somewhat better. |
| Comment by Adam Midvidy [ 30/Nov/15 ] |
|
https://github.com/mongodb/mongo-cxx-driver/blob/master/src/mongocxx/database.hpp#L83 |