Removing a view

20 views
Skip to first unread message

Todd Freese

unread,
Aug 8, 2014, 12:49:24 PM8/8/14
to mobile-c...@googlegroups.com
I am changing the name of my views to use the new concurrent indexing feature. I have about 10 views that will be renamed. What happens to the old views in the DB? Do they get deleted since I am not registering them or is this something I need to clean up after changing the view names?

Todd

Jeremy Kelley

unread,
Aug 8, 2014, 1:37:36 PM8/8/14
to mobile-c...@googlegroups.com
Slightly off-topic, but what "new concurrent indexing feature"?
> --
> 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 mobile-couchba...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/mobile-couchbase/bb7a413e-da1a-412a-bca4-ad85b957796b%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--
The Christian ideal has not been tried and found wanting;
it has been found difficult and left untried – G. K. Chesterton

Todd Freese

unread,
Aug 8, 2014, 1:42:54 PM8/8/14
to mobile-c...@googlegroups.com, jer...@33ad.org

Jens Alfke

unread,
Aug 8, 2014, 2:14:11 PM8/8/14
to mobile-c...@googlegroups.com

On Aug 8, 2014, at 9:49 AM, Todd Freese <to...@filmworkers.com> wrote:

I am changing the name of my views to use the new concurrent indexing feature. I have about 10 views that will be renamed. What happens to the old views in the DB? Do they get deleted since I am not registering them or is this something I need to clean up after changing the view names?

Views are persistent (except for the map block, which has to be registered at runtime.)
Call -[CBLView deleteView] to delete a view you're no longer using.

—Jens
Reply all
Reply to author
Forward
0 new messages