anlek/mongify

Map one table to multiple collections

Closed this issue · 2 comments

Is there a way to map one SQL table to multiple mongo collections?

With the current code, there is no way to do that.
You can try setting up two of the same translation of the table (and use "rename_to" on both of the tables), but I'm pretty sure that won't work.

Thank you for the reply, and the great job creating mongify.
I found that the simplest method is to create a view on the SQL side and map that one.
At least for my purposes.