Bootstrapping:
git clone git@github.com:bfritz/mongodb-from-scala.git
cd mongodb-from-scala
sbt update
sbt ~console
From the sbt console:
new casbah.BeerDemo
Casbah Info and References:
- formerly known as "mongo-scala-wrappers"
- primary developers are Brendan McAdams and Max Afonov
- source is on github
- license is Apache 2.0
- inspired by pymongo for Python
- Documentation
- Mailing List
- Issue Tracker
- Video and slides of Brendan McAdams's presentation to NY Scala Enthusiasts
- CASE meetup about Casbah in Chicago on Thursday, October 21st, 2010
- key features:
- allows pass-through of "bare" MongoDB queries
- has support for GridFS
- map/reduce support (without much documentation)
Other Scala drivers for MongoDB:
- mongo-scala-driver
- uses operators like <<, <<?, +=, -= on MongoDB collections
- has object mapping via Shapes library
- lift-mongodb
(formerly "scamongo")
- object mapping via lift-mongodb-record
- used by Foursquare and they are working on query library
- Akka has some support for STM backed by MongoDB