Are you doing push replication, or a filtered _changes request? Can you
show the code that returns every doc instead of the filtered docs?
On Sunday, November 23, 2014 2:22:52 PM UTC-8, Seung Chan Lim wrote:
>
> Hi Chris,
>
> So I'm trying out the filters again, but for some reason even if I return
> false from my filter function, I get back every doc in the local db.
>
> This is my filter function
>
> filters: {by_attr: (function(doc, req) {
> return false;
> }).toString()
> }
>
> I JSON.stringify the above, of course.
>
> I know this seems crazy, but I just wanted to make sure that the filters
> do indeed work.
>
> 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/1a1dc7c0-c927-4035-9e6b-92274b3f5ed1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.