Hi Ayhan,

does function (doc) { if (doc.id == '412918563004231700') { emit(doc.id, null); 
} work? Note that in order to see the document with this map, you have to use 
?include_docs=true.

Maps are real functions, and what you have there is an assignment.

Regards,
Jonas


On 4 March 2015, Ayhan Kesenci <[email protected]> wrote:
> Hey friends how should my map function looks like to find this document
> 412918563004231700
> 
> doc.id="412918563004231700") doenst work :(
>
>
> Thank you
>
> Ayhan
>

Reply via email to