Meteor with mysql

后端 未结 7 987
清歌不尽
清歌不尽 2020-12-31 10:15

I\'m curious to know if meteor can be connected to or display the contents of RDBMS, such as mysql. I have a database that is constantly changing and, if I can use meteor as

7条回答
  •  没有蜡笔的小新
    2020-12-31 10:59

    Basically, there are 3 ways to achieve this:

    1.- Use SQL Sintax in client side: Get rid of minimongo limitations on grouping and unions. Use Alasql on the client and normalize mongo collections.

    2.- Use a SQL Connector: Try numltel's MySql connector. The disadvantage is it breaks deployments to meteor.

    3.- Use mongo as a slave for relational database, keeping them in synch. MySql Shadow uses this. Also you might want to look at symmetric.ds to set mongo bidirectional replication with a lot of Sql engines.

    I have collected my research in this repo:

    https://github.com/vchigne/sqlAndMeteor

提交回复
热议问题