I use cordova-couchbase with couchbase-server 4.6, i have a doubt about using sync in my angular application. I would like to sync two different types of data. One at application startup and the other within a specific view. In this case, the best way is to make two different sync to two different databases? Do the channels also serve this?
Nobody who explains this to me?
There are a couple of ways to do this. The simplest is probably to just create two different databases. When you run replications, you’ll notice you also specific the database name in the URL
Channels are within a database. You could achieve a separation of data with channels, though.
Can you explain in more detail what you’re trying to achieve? This is a bit of an unusual approach.