Using meteor-mysql with microservices (via DDP)
Hi there! Thank you very much for this awesome package! Just built my first mysql meteor app. Just one thing: the product I am developing has to work with different backends - meaning, for example, the SQL structure wont be the same all the time. Thus my idea was to build a meteor microservice which provides the "SQL endpoints" using your library. This microservice will be different for every customer I have. Additionally there is a "main app", also written in Meteor, which connects to the microservice via DDP. This is possible with mongodb as shown here and also here.
So my questions is: Do you have any ideas on how to solve this with your package and SQL as backend DB? I would love to still have reactivity of course.
Hope you can help! :-)
As specified in the read me, pass the connection object as the first argument to the MysqlSubscription constructor.
Thanks so much for your quick reply ... should have read the docs more carefully! Works like a charm! :-) Just out of curiosity: Do you have any idea on how long you will support this awesome package? My application will rely heavily on it so continuous support with updates and stuff would be really awesome!
I'll probably keep doing bug fixes and keeping it up to date with new Meteor releases until MySQL support is provided better by MDG or somebody else. I don't plan on adding new features but if you would like them, send me an email as I am available for contract work.