Casbah integrates a Scala toolkit layer on top of the official MongoDB Java driver.
Casbah is end-of-life (EOL):
Users are encouraged to migrate to the Mongo Scala Driver for a modern idiomatic MongoDB Scala driver.
Casbah is a Scala toolkit for MongoDB. We use the term “toolkit” rather than “driver”, as Casbah integrates a layer on top of the official mongo-java-driver for better integration with Scala. This is as opposed to a native implementation of the Mongo Wire Protocol, which the Java driver does exceptionally well. Rather than a complete rewrite, Casbah uses implicits and Pimp My Library code to enhance the existing Java code with fluid, Scala-friendly syntax.
Documentation and source code
- Casbah documentation
- Casbah tutorial
- Casbah source code on GitHub
- Scala language center on MongoDB.org