[JAVA-300] In MapReduceCommand, the scope should be a DBObject instance instead of a String Created: 18/Mar/11  Updated: 28/May/11  Resolved: 16/May/11

Status: Closed
Project: Java Driver
Component/s: API
Affects Version/s: 2.5
Fix Version/s: 2.6

Type: Bug Priority: Minor - P4
Reporter: Kristofer Ă…gren Assignee: Antoine Girbal
Resolution: Done Votes: 2
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

The only way to set the scope for a mapReduce command when using hte MapReduceCommand is to pass in a String, which does not work (at least not in Mongo 1.8.0-rc0) since the scope will end up being placed within quotations when runCommand is being called. Changing the scope to a DBObject instance instead of a String fixes the issue.


Generated at Thu Feb 08 08:51:57 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.