On Sep 12, 2008, at 5:13 , william kinney wrote:
i removed the reduce function as well :-\On Thu, Sep 11, 2008 at 11:09 PM, Chris Anderson <[EMAIL PROTECTED]> wrote:On Thu, Sep 11, 2008 at 12:31 PM, william kinney <[EMAIL PROTECTED]> wrote:I simplified the map function to: function(doc) { emit(doc._id, doc); }
What about emit(doc._id, null); as suggested earlier? Actually, emit(null, null) will do since a doc's _id is always included in the view result list. Cheers Jan --
