This is something that is baffling me.

I'm trying to filter my changes feed from the local couch db on phone gap.

I've created a design doc ( _design/utils) with the filters attribute set 
to a string representation of the following function

function(doc, req) { 
   if (req.query.doc_ids.indexOf(doc._id) != -1) { 

       return true;
   } else {
       return false;

   } 
       }

then called from within phonegap

http://lite.couchbase./status32/_changes?feed=continuous&include_docs=true&filter=utils/by_id&doc_ids=%4B%22id%22%5D
 
<http://lite.couchbase./status32/_changes?feed=continuous&include_docs=true&filter=_doc_ids&doc_ids=%4B%22uuid%22%5D>


I'm getting a 404

Am I doing something obviously wrong?


slim

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/64fedac5-0fd8-464a-a483-42daf5d4dc14%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to