I was actually referring to the filter function sir, which I believe is not yet supported anymore since Couchbase lite 2.0
On Sunday, September 10, 2017 at 10:03:12 PM UTC-7, Jens Alfke wrote: > > > > On Sep 10, 2017, at 9:13 PM, dyowee <[email protected] <javascript:>> > wrote: > > We are unable to update beyond 1.1.1, due to lesser support for CouchDB, > such as the filter functions. > > > You mean the inconsistency in how CouchDB accepts _changes parameters in a > POST vs a GET? If you're willing to make a few changes in CBL to be > compatible with whatever CouchDB is expecting, it would probably save you > trouble in the long run; there have been so many fixes and improvements in > CBL since 1.1.1. > > When we added support for sending _changes as a POST (in CBL and Sync > Gateway), we simply moved all the URL parameters to equivalent POST body > parameters. But for some reason when CouchDB made the same change, they > only enabled a small subset of the parameters to go in the POST; the rest > still have to go in the URL. I have no idea why. > > In the ChangeTracker class in CBL you can disable the use of POST if the > server isn't known to be SG; that would be the easiest and safest approach. > Or if you need to send POST, you can figure out which parameters CouchDB > wants, and then modify the code to put only those parameters in the body. > > —Jens > -- 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/58b5a347-15bc-4852-91d3-b0e4a6dfbbd6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
