[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: CXX-750 - Rename database::command to database::run_command
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/b67a0a77561068948fdcba76ccf0fc9d6c174ab3

Comment by Tess Avitabile (Inactive) [ 03/Dec/15 ]

https://github.com/mongodb/mongo-cxx-driver/pull/386

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

Generated at Wed Feb 07 22:00:12 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.