문제

Is there an equivalent of Rob Conery's Massive for NoSQL (MongoDB)?

I like Massive very much, but I'd like to use it with NoSQL databases, especially with MongoDB and I can't find a decent alternative.

도움이 되었습니까?

해결책

If you are interested in the 'single file' aspects of it then it shouldn't be too hard to create something using the Bson serializer / deserializer code provided in the MongoDB driver to store Bson documents in the file system.

If you are interested in the query aspects of it, SQL isn't the right language to query a document store like MongoDB.

And finally, if you are interested in the dynamic aspects of it, well the closest I've found to that so far is my own blog post on using dynamic objects with MongoDB.

다른 팁

Simple.Data has an adapter for MongoDB - https://github.com/markrendle/Simple.Data

Maybe I don't get it (but I'm not a NoSQL guru by any means):

The point of Massive is to map a relational database table to an object.
The point of NoSQL is that there are no relational database tables, but that you save your objects directly into the database instead.

So...what feature of Massive do you want to use with a NoSQL DB?
Do you really need a Massive equivalent for NoSQL?

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top