IsStale

15 views
Skip to first unread message

Julio Albuquerque

unread,
Jan 24, 2015, 12:54:35 PM1/24/15
to mobile-c...@googlegroups.com
Hi.
If a view is with IsStale = True attribute, what procedure to do?
Have to re-create the Map function and execute the query to rebuild the index or simply just run the query?

Use Xamarin Android (C #) with Couchbase Lite .Net
 Julio.

Jens Alfke

unread,
Jan 24, 2015, 6:08:16 PM1/24/15
to mobile-c...@googlegroups.com

On Jan 24, 2015, at 9:54 AM, Julio Albuquerque <jcezar.al...@gmail.com> wrote:

If a view is with IsStale = True attribute, what procedure to do?
Have to re-create the Map function and execute the query to rebuild the index or simply just run the query?

Just run the query — it updates the index first. (Unless you set the query's indexUpdateMode.)

—Jens
Reply all
Reply to author
Forward
0 new messages