PouchDB + Capella => Can you sync / replicate from custom scope?
- Dominant language
- JavaScript
- Stars
- 17.6k
- Forks
- 1.5k
- PR merge metrics
- No merged PRs in 30d
Description
We are trying to connect **PouchDB** to **Capella** through `Capella Sync Gateway`.
We managed to _sync_ / _replicate_ data from the default scope (**_default_scope**), by setting up the connectoin string as `/endpoint`.
Since we have multiple collections, we would want to achieve something like this:
`https://url.com:4984/test._default.test_sync/_changes?feed=continuous&include_docs=true&timeout=0`
Is it possible that each pouch db would sync/repliacate from other scope than the default one? We can set up multiple endpoints in Capella, but we would need each one to be linked to a custom scope.
Above URL, does return correct data when used outside of **PouchDB**, but we have not succeeded to configure **PouchDB** to get same data.
If using `https://url.com:4984/test._default_scope.test_sync` this returns **404**.
Are there any other alternatives on achieving this?
Contributor guide
Assessment
This issue has not been assessed yet.