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
Post a Comment