> On Jan 30, 2015, at 7:14 AM, Martin Palatnik <[email protected]> wrote:
> 
> Is this normal? Shouldn't I receive only the last change?

It's normal. HTTP is a stateless protocol, so when you make the request, the 
gateway has no way of knowing what changes you've already seen the last time 
you asked. So by default it sends you everything.

The way to get the changes since the last request is to use the "?since=" 
parameter in the URL. Please refer to the docs 
<http://developer.couchbase.com/mobile/develop/references/sync-gateway/rest-api/database/get-changes/index.html>
 for details.

—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/30326C60-5343-4B07-B02C-84B03517758B%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to