Hi Priya
Thanks for your pointer to the documentation. I tried to find an example of how to implement it - but the sample code is “invisible” in e.g. this blog post: https://blog.couchbase.com/couchbase-net-sdk-20-development-series-logging/
… I’ll search for some other samples - but thought someone ought to change the blog post
When I look at the document there are a couple of surprises (to me anyway) as there is more than one “channel” with the same channel name:
{"_sync":{"rev":"6-0b7621a0ad1f948b0803b92352b75799","sequence":222240,"recent_sequences":[222004,222196,222206,222224,222232,222240],
"history":{"revs":["4-6415f63cb71a6464d33c5613db88572e","5-8087c9ccea55c55c3c663e73a77bcf9d","6-0b7621a0ad1f948b0803b92352b75799","3-29c6f78c15d85f67f2825b9b1026c93f","1-4a4eb568127cd010a7ad213e68468771","2-a297d0bb8917af2a0dd2e305e166af32"],
"parents":[3,0,1,5,-1,4],
"channels":[["channel.587CE5200641ABD9C1257E500051DDCD"],["channel.587CE5200641ABD9C1257E500051DDCD"],
["channel.587CE5200641ABD9C1257E500051DDCD"],["channel.587CE5200641ABD9C1257E500051DDCD"],
["channel.587CE5200641ABD9C1257E500051DDCD"],["channel.587CE5200641ABD9C1257E500051DDCD"]]},
"channels":{"channel.587CE5200641ABD9C1257E500051DDCD":null},"access":{"587CE5200641ABD9C1257E500051DDCD":{"channel.587CE5200641ABD9C1257E500051DDCD":222004}},
"cas":"0x00007414355a5315","value_crc32c":"","time_saved":"2018-09-11T15:04:41.886150329+02:00"},
"address":"Solbjergvej 42\r\nSolbjerg","cellphone":"40566308","city":"Høng","country":"DK","email":"john@dalsgaard-data.dk",
"name":"John Dalsgaard","phone":"49141248","sex":"M",
"type":"Private","userkey":"587CE5200641ABD9C1257E500051DDCD","zip":"4270"}
I have added some linebreaks to the raw format for easier reading
With the setup of the sync. formula and channels applied to the users above - does this document look “right” or is the problem in here…?