You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by zh...@t3gt.com on 2008/06/04 03:44:04 UTC

about the "map" in JavaScript query function

Hi all,

I guess the "map" is going to be changed to "emit". But I think I better
choice
would be "sow": One *sow* something in the function, then the main.js can
*reap*
them.

function (doc)
{
    map(null, doc);
}

BTW, couch_server:all_databases() does not work well on Windows, because
it's
file/directory name are not case-sensitive. Could I submit some update for
this?