Hello All,

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. I tried adding the parameter indexUpdateMode: "before" to my view 
queries but it has no effect. The documentation of the REST API for views 
is blank. 
http://developer.couchbase.com/mobile/develop/references/couchbase-lite/rest-api/design-document/get---db--design--design-doc--view--view-name-/index.html
 


on the php docs it has a stale: false value 
http://www.couchbase.com/autodocs/couchbase-php-client-1.1.5/classes/Couchbase.html#method_view
 
I tried this but I don't think it has an effect either.

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

Is there any way I can render the views upon new data entering into the db 
? rather than when I go to view them.

Thanks,
Dominique

-- 
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/41dab4c6-6247-42d3-bd02-5b4a9b8e5e3e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to