wallaceturner / ravendb-import-from-mongodb

Import documents from a MongoDb database into a RavenDb database
0 stars 0 forks source link

Is it possible to use this to do the opposite? #1

Open MostHated opened 6 years ago

MostHated commented 6 years ago

Hey there, I was wondering if this could somehow be used to go from RavenDB to Mongo? I really wanted to use RavenDB but I am making a game in Unity3d and unfortunately, the version of Mono that it uses just doesn't play well with Raven. I tried for several days to get it to work, but it just won't. The framework my game uses was originally made several years ago for a 3.x variant of Raven so there is already data which I imported into a Raven 4.x DB. Unfortunately, it looks like my only current option is to use Mongo since it works well with Unity, so I was wondering if there was any way to possibly reverse this process to use it to export what I have in Raven over to Mongo?

Thanks!

wallaceturner commented 6 years ago

@MostHated do you still need help with this? most of the code is in migrator.ts - you can make a small amount of modifications to change it to do what you require

MostHated commented 6 years ago

Hey there, I appreciate you getting back to me. Good news is after working with Raven support, they came out with a patch for me and Raven is actually working just fine with Unity now!