> On Jan 14, 2015, at 8:25 AM, Keith Hayes <[email protected]> wrote: > > Synchronization works as advertised. All 1000 documents are pushed to the > client. > As this can take some time so it would be nice to have some type of paging > mechanism to sync documents 1-50, then 51-100 etc...
It basically does that already; it's downloading all of the documents as fast as it can. So while the sync is running you'll have first 50 docs, then 100, etc. If you want explicit control, then saying "1-50" begs the question of what order the docs should be sorted into. You're basically talking about running a remote query. On iOS there's a branch named feature/query that lets you do this — it adds a -createQuery method to CBLReplication. This isn't official yet but will probably appear in version 1.1 on iOS at least. —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/CE1092C4-79CF-404F-8055-792414F6CD83%40couchbase.com. For more options, visit https://groups.google.com/d/optout.
