Can N1QL Public Rest API Update the Couchbase Synch Gateway?

I am using coucbhase lite iOs and i am using N1QL query update in some other place for update query. so when i update queries from N1QL, will those records auto sysnc to Couchbase mobie lite?

Where my couchbase sync gateway enabled enable_shared_bucket_access

Yes, in that mode any changes made on the server will be recognized by Sync Gateway and sync to clients.

The docs explain the use of the flag.

Thank you, yes i went through that link.