anlek / mongify

Mongify allows you to map your data from a sql database and into a mongodb document database.
http://github.com/anlek/mongify
MIT License
317 stars 82 forks source link

mysql : embedded tables #171

Closed irfanjs closed 6 years ago

irfanjs commented 6 years ago

hi, in the known issues section of documentation page, it is written that ,

Can't do anything to an embedded table

for Mysql, there is no concept as embedded tables, but we have nested table structure where we have primary and foreign key relationships. my query is , does Mongify is solution for such Mysql databases where we have tables which are related using primary/foreign key relations ?

please suggest Regards,

anlek commented 6 years ago

I'm not sure I fully understand your question and I'll try to do my best to answer what I think you're asking. Mongify will take your MySQL data and translate it into documents in MongoDB. You can specify relationships from MySQL to embed as an embedded document in MongoDB. However, currently, Mongify can ONLY embed 1 level deep. Please feel free to read the docs for more information. Good luck!

irfanjs commented 6 years ago

thanks. what do you mean by "Mongify can ONLY embed 1 level deep." can you please elaborate with example ?