New Wrapper to Make MongoDB More ‘Scala-Like’


Alexander Azarov has released a new ‘mongo-scala-driver’ wrapper that aims to make working with MongoDB more ‘Scala-like.’ In pursuit of this goal, it tries to expose Scala interfaces as much as possible by renaming insertion methods in Scala style; shuns annotations; and focuses on scalable features.

mongo-scala-driver is built of several distinct layers: a low-level library; an ‘object-document mapping’ based on explicit schema definition; and a Collection[DBObject] that uses a plain serialiser.

Version 0.7.2 is compatible with mongo-java-driver version 1.2 and covers a range of MongoDB’s document data types, such as complex objects inside a document, optional simple values inside a document; and arrays of references inside a document.

It is licensed under the Apache 2.0 License and is available from github.

comments powered by Disqus