> On Sep 23, 2014, at 4:54 PM, Dominique Legault <[email protected]> wrote:
> 
> I'm having an issue with my views rendering stale documents on a phonegap app 
> running couchbase lite. If I go to another page and come back to the same 
> page the view renders correctly. this happens on almost all the pages I view.

Can you be more specific about what's wrong (including indicating what OS 
you're on)?

In particular, do you mean that you issue a GET of /db/_design/ddoc/_view/view 
and get back obsolete data? That would be a bug; if so, please file a bug 
report.

> on the php docs it has a stale: false value

That's for Couchbase Server. Similar API but they've changed a number of things 
including the handling of 'stale'. Don't use Couchbase Server docs for 
reference to Couchbase Lite (or the Sync Gateway for that matter.)

> What is the preferred method to ensure all views are up to date when I query 
> them.

That's the default behavior.

—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/999FF1F8-C85A-41EB-B806-D35800A1B8A9%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.
  • Stale Views Dominique Legault
    • Re: Stale Views Jens Alfke

Reply via email to