Ideal Replication Filter for JSON based Databases Like Couchbase, CouchbaseLite, CouchDB, etc.?
问题 I am about to write a filter function on CouchDB server side to filter documents specific to the user . This filter will allow replication only for those few selected documents that a particular user has access to rather than whole database of TBs of size. Here I found a similar question CouchDB: Restricting users to only replicating their own documents but it does not provide me the info that I need. SO my questions remain: What can be the best approach to specify such a filter? How should I