> On Oct 16, 2014, at 5:00 AM, Guofeng Zhang <[email protected]> wrote: > > What I thought to deal with this requirement is to add a new property > "dismissed" into the doc, and set its value to true so that the view won't > allow the app to display it.
You can't store this property in the document. You'll need to keep some local state that remembers which documents have been dismissed. You can store that any way you like — it could be in a doc in the database that's private to that user (so it can be synced between his/her devices), or it could be outside the database. —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/0B54DE6C-6AC8-40A3-B0C4-473F74D97395%40couchbase.com. For more options, visit https://groups.google.com/d/optout.
