I use sync_gateway in my socail app to sync Identity documents and InfoCard documents between apps and server.
There are several socail actions to the InfoCard, such as like action, comment action and save action,
be stored in a seperate type document.
Is there any method I can use in the sync function to count the total number of each social action type to some InfoCard?
Or on the Couchbase Server side, is there any method I can user to trace the social action Create or Update event,
and use the RxJava and reactive programming to count the total number of each social action type on some InfoCard?