couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonas Weber" <m...@jonasw.de>
Subject Re: Seachring specific Word in couchdb
Date Wed, 04 Mar 2015 18:08:09 GMT
So sorry, I forgot an } at the end (I always do).


On 4 March 2015, Ayhan Kesenci <a.kesenci89@googlemail.com> wrote:
> Get an Error Message, does not evaluate.
> 
> 
> Ayhan
> 
> 2015-03-04 18:59 GMT+01:00 Jonas Weber <<mail@jonasw.de>>:
> 
> > 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 <<a.kesenci89@googlemail.com>> wrote:
> > 
> > Hey friends how should my map function looks like to find this document
> > 412918563004231700
> > 
> > doc.id="412918563004231700") doenst work :(
> > 
> > 
> > Thank you
> > 
> > Ayhan
> > 
> > 
> > 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
    • Unnamed multipart/related (inline, None, 0 bytes)
View raw message