By local couch db I mean couch base lite.
On Tuesday, July 29, 2014 4:35:10 PM UTC-4, Seung Chan Lim wrote:
>
> 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/75946440-2bb6-4b68-84d3-f61f15721237%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.