> I use this Map Function to get the current Unix timestamp:
> function(doc) {emit(Math.round(new Date().getTime()/1000), null );}Eek! never do that. A map function should be a function in a mathematical sense. This means that the return value of map(x) should be ever and ever the same for a given x. Regards, Aurélien
