pouchdb-server icon indicating copy to clipboard operation
pouchdb-server copied to clipboard

Tag synced up data and filtering synced down data by tagging client ID

Open CHOMNANP opened this issue 6 years ago • 0 comments

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

CHOMNANP avatar Jun 12 '19 08:06 CHOMNANP