pouchdb-server
pouchdb-server copied to clipboard
Tag synced up data and filtering synced down data by tagging client ID
We are working on app for multiple users data per database.
Step 1: Data is generated on local database Step 2: Data is synced up to the remote database via pouchdb-server. ( We're looking to tag user id when the data is syning up to the server) Step 3: Other device trying to sync down data. (We're looking to inject the user_id based on user id which we already has).
Table Scheme
- _id
- user_id
- data1
- data2
Does this also support for the implementation on the middleware of Express?
Thanks, Punleu