Couchbase Questions: view inserted

Have a Question? Get it answered by our community

ANdrei Nechifor's picture
Asked 1 month 2 weeks ago
Latest activity 1 month 1 week ago

How can I guarantee that a view returns the last inserted value also

Steps:
1. Write a key/value using ExecuteStore command
2. I immediately try to get the last inserted value like this:
var view = _instance.GetView("all_docs", "all_docs");
view = view.Stale(StaleMode.False);
var documents = view.Select(GenerateCacheData);
...