How can the Sync Gateway access changes made to the database via Query Workbench?

I created a document in my bucket via the query workbench. When accessing the bucket via CB Lite and the Sync Gateway, the new document doesn’t appear. Are there ways to trigger the Sync Gateway to include changes made via query workbench? If not, what is the best way to apply changes / generate new and delete docs from a bucket - to be caught by Sync Gateway?

You probably need to set enable_shared_bucket_access and import_docs .

https://docs.couchbase.com/sync-gateway/2.0/shared-bucket-access.html

2 Likes

Thanks Ben, that was it!