Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Push without Pull from Couchbase Lite

I'm collecting some analytic data on my client device which does not require any initial data from the server database.

Is it possible to start with an empty database, add some analytic documents and then when I'm ready use push replication to add those documents to my server database with the sync gate?

I'm going to have an analytics channel but I don't want to pull EVERYTHING from that channel into my client database since it doesn't care about what's there already, it only wants to add to it.

I would be asking this question on the Couchbase forums but it is currently down.

like image 521
Josh Elias Avatar asked May 10 '26 00:05

Josh Elias


1 Answers

Sure, push and pull replications are entirely separate so as long as you do not create a pull replication you won't receive any data from sync gateway.

like image 105
borrrden Avatar answered May 19 '26 00:05

borrrden



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!