« first day (69 days earlier)      last day (76 days later) » 

8:13 AM
Hey joe
one more thing is i have to write one reduce query
 
 
6 hours later…
1:55 PM
which should give coutnt based on a field called mode and it values are 0,1,2 if 0 and 1 where in that field we have to increment a new variable called ab_leads and if 2 is there then cp_leads
so finally ill pass campaign names i want for each campaign ill i want ab_leads and cp_leads
 
2:14 PM
{'5IVUPHE42HP1NEYvKb7qSvpX2Cm': {'ab_leads': 1, 'cp_leads': 0},
'WL6iHLCgs492rFEFvqewzvCfFfj': {'ab_leads': 0, 'cp_leads': 1}}
i want result like that
[{'5IVUPHE42HP1NEYvKb7qSvpX2Cm': 1},
{'WL6iHLCgs492rFEFvqewzvCfFfj': 2},
{'5IVUPHE42HP1NEYvKb7qSvpX2Cm': 1},
{'5IVUPHE42HP1NEYvKb7qSvpX2Cm': 2}]
i am getting the result from the phase like the abouve
 

« first day (69 days earlier)      last day (76 days later) »