Map one table to multiple collections
Closed this issue · 2 comments
terameta commented
Is there a way to map one SQL table to multiple mongo collections?
anlek commented
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.
terameta commented
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.