Is possible to connect sync gateway with mysql database?

I am developing mobile and web application with SG and CB. I need to add some document into mysql database. Is it possible?

Thank you.

Not through Sync Gateway. You’d need to write your own code to connect to the MySQL database. Check out the documentation on SG web-hooks.

1 Like

Changes feed is good option over web hooks. Major advantage is Sequential processing. if I am understanding this right, you don’t need to process all documents, may be some type of documents.

In this case, you can add special channel through sync gateway or by APIs. which therefore, you could use this channels to get document through changes feed as filter.

1 Like