On Apr 2, 2014, at 1:58 AM, nadia echi <[email protected]> wrote:

> How can i check the existence of my views when the app is launched , if it's 
> not the will be created ,

A view is created the first time you access it. The view and its index are 
persistent, but you have to register the map and reduce blocks on every launch. 
You should do that right after opening the database, definitely before querying 
the view.

> because when i insert new doc and i do get to the view, the result is not 
> updating, i have to reopen the app to have the view updated !!


How are you querying the view?

--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/E30FC103-1C72-41EC-83F3-3ECFB0F8D927%40mooseyard.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to