MongoDB database migration from RavenDB

95 views
Skip to first unread message

Kapil

unread,
May 5, 2014, 2:26:11 AM5/5/14
to mongod...@googlegroups.com
Hi All,

I am pretty much new to MongoDB and right now working on migrating an application which uses RavenDB to MongoDB. The application uses few of the RavenDB features and I was able to replicate most of those features except a couple. Could you please let me know whether following features are achievable in MongoDB?

1. The unit test cases of our application uses the RavebDB's embedded mode. Is it possible to run MongoDB as an Embedded/In-memory data base? If it is not possible which is the best way to write unit test cases for MongoDB? (Mocking wouldn't be an ideal solution in my case).

2. RavenDB has got an native support of versioning of documents? Does the MongoDB also have the same?

You help would be much appreciated.

Thanks,
Kapil

Khalid Salomão

unread,
May 5, 2014, 12:21:22 PM5/5/14
to mongod...@googlegroups.com
Hi Kapil,

1. There is no embeded mode! just install MongoDB. You can run it as a windows service or just run the "mongod.exe" while developing... Or keep a dev server with MongoDB.

2. No, you will have to implement the versioning on the application layer.

Regards,
Khalid
Reply all
Reply to author
Forward
0 new messages