在MongoDB中,对于mongo mapreduce流程,emit函数的形式是emit(this.cId, {q1:this.Q1, q2s:this.Q2}); 为reduce函数选择正确的返回值( )
return {a:Q2, b:Q1};
return {a:Q2, b:Q1 c:this.Q1, d:this.Q2};
return {a:Q1, b:Q2};
return {a:this.Q1, b:this.Q2};
在MongoDB中,对于mongo mapreduce流程,emit函数的形式是emit(this.cId, {q1:this.Q1, q2s:this.Q2}); 为reduce函数选择正确的返回值( )
return {a:Q2, b:Q1};
return {a:Q2, b:Q1 c:this.Q1, d:this.Q2};
return {a:Q1, b:Q2};
return {a:this.Q1, b:this.Q2};