On Tuesday, May 12, 2015 at 5:48:24 PM UTC+2, Jens Alfke wrote:
>
> ...
>
> A hint for future debugging: when you’re curious what the value or class 
> of a variable is at runtime, set a breakpoint there, then look at the value 
> in the debugger. If the variable list doesn’t tell you, you can print an 
> object using the ‘po’ command. If you want to know what its exact class is, 
> try ‘po [views class]’.
>

OK thanks a lot for the nice explanation. I was in the debugger doing print 
etc. but clearly didn't get the `po` concept. I can now create a CBLView 
from a document ~ my use case is that have stored some views in a document.

So now I have a view and in ios/swift I can do view.deleteIndex(). In 
contrast to do delete index I had like to do view.updateIndex() which I can 
do in Java. But its not listed in the 
doc/api 
http://developer.couchbase.com/mobile/develop/references/couchbase-lite/couchbase-lite/view/view/index.html

So how to reindex a view in ios/swift?


 

-- 
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/ee2786d2-f732-41ea-beef-c7b3e73ae7fb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to