Document Channel Removed Flag, Revision isGone() isDeletion() Works?


#1

Hi Folks,

a) Have a document at the sever with two channels(A and B) assigned.
b) Document is shared between A and B now.
c)Channel A is removed by updating the the document.
d)Client gets the A document updated revision
e)Document A does not have property to check that the channel is removed.?

Is there a property to check if the channel is removed?

http://developer.couchbase.com/mobile/develop/guides/sync-gateway/channels/developing/index.html

public boolean isGone() {
}
public boolean isDeletion() {
}

Does the above API’s works? if so Pls highlight the usage?

As per experiment API’s are not working as expected.

Thanks
Nithin


#2

No, channels aren’t directly visible to the client.