mongify icon indicating copy to clipboard operation
mongify copied to clipboard

Option to filter *views* out

Open chevdor opened this issue 10 years ago • 4 comments

In the translation command, it would be sweet to be able to process the tables only and not the views.

chevdor avatar Sep 16 '15 19:09 chevdor

Hello @chevdor, The translation file includes everything, however you're free to remove it (or add ignore: true on the views).

anlek avatar Sep 16 '15 20:09 anlek

Does it makes sense by default to migrate data that is not real (views) into new mongo collections?

chevdor avatar Sep 16 '15 20:09 chevdor

Maybe not but I wouldn't want to remove that possibility. If you would like to submit a PR to set an ignore flag on views, I'd gladly pull it in.

anlek avatar Sep 16 '15 21:09 anlek

I am unfortunately not yet a Ruby guy :smile: À good option for now may be to set ignore:true automatically on views unless you or someone can explain a benefit of migrating by default the views as well. I think this is not common.

chevdor avatar Sep 18 '15 10:09 chevdor