couchdb - how replicate only the user's documents -
i need sync document cloudant server ios in swift language. use official library
https://github.com/cloudant/cdtdatastore#overview
i need understand how replicate user documents. need figure out correct road.
imagine ticket assistance system of company.
all users can create ticket , save in cloudant/couchdb server. when user uses mobile platform, synchronize him ticket how can it?
thank all
cdtdatastore designed sync whole database, , cloudant/ couchdb doesn't provide per document acl. in order sync specific users data either need use filter function, hit performance of replication, or use 1 database per user model.