couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antony Blakey <antony.bla...@gmail.com>
Subject Re: what does map do?
Date Sun, 21 Dec 2008 04:30:23 GMT

On 21/12/2008, at 2:52 PM, paul jobs wrote:

>   1. function(doc) {
>   2.   if (doc.doctype == "WikiPage") {
>   3.     map([doc.title, doc.revision], doc);
>   4.   }
>   5. }
>   *
>   *
>   *this doesnt output any rows, is there any purpose as to this view*
>   *
>   *
>   *reference: http://prematureoptimization.org/blog/archives/59*



map(...) => emit(...)

Antony Blakey
-------------
CTO, Linkuistics Pty Ltd
Ph: 0438 840 787

The difference between ordinary and extraordinary is that little extra.



Mime
View raw message