Displaying 1 result from an estimated 1 matches for "apossition".
Did you mean:
possition
2011 Dec 22
0
mongodb Map/reduce grouping
...whoWinning aTotalScore, $wins["fifth"]["score"],
aChildChallenge.user_id, 5
aTotalScore = 0
next if aTotalScore = 0
end
end
else
raise "childchallenge"
end
end
private
def whoWinning(tempScore, winnerScore, winnerId, aPossition )
aTScore = 0
aTId = 0
if aPossition == 5
$wins["fifth"]["score"],$wins["fifth"]["id"] = tempScore,winnerId
raise $wins.inspect
return
else
if aPossition == 1
aTScore,$wins["first"]["...