unable to sync pouchDB with couchBase Sync Gateway -


i trying sync pouchdb couchbase through sync gateway, data added pouchdb, not initial data added couchbase. example there 750 docs in couchbase none of them synced pouchdb. http://localhost:4985/_admin/db/db not showing couchbase docs too.

the problem adding data couchbase server directly. couchbase mobile requires metadata in order deal replication , conflict resolution. isn't handled server sdks.

the recommended approach database writes through sync gateway.

to simplify use php, may want use swagger php client. (you can see example of using clients autogenerated swagger in post. example use javascript , node.js, principles same.)

you can read couchbase server directly if want (to n1ql query, example).

another option use "bucket shadowing". trickier, , deprecated @ point. list completeness.


Comments

Popular posts from this blog

c++ - CPP, 'X' button listener -

shared memory - gstreamer shmsrc and shmsink with h264 data -

.net - Bulk insert via Dapper is slower than inserting rows one-by-one -