On Apr 4, 2014, at 8:26 AM, nadia echi <[email protected]> wrote: > I registered the views after opening the CBLDatabase .
Can you show the code that opens the database and registers the views? > But why i still have the same problem when i insert new doc and i quered the > view from JS, the result is not updating. So i have to reopen the app to have > the view updated !! So the sequence is like this? (1) insert new document (2) wait for HTTP response to the PUT (3) Query the view (4) Query result doesn't include the new document (5) Press Home button (6) Reopen app (7) Query the view (8) Query result includes new document In step 6 are you making sure the app process is killed, or are you just reactivating the already-running app? --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/E412F032-9806-4B7F-98E1-2BCA77975740%40couchbase.com. For more options, visit https://groups.google.com/d/optout.
