Quick tutorial on Casbah, Scala’s MongoDB driver

(image from http://www.digitalcraftstudios.com)

For the past couple of months I have been playing with Scala, Casbah (Scala’s MongoDB driver) and Salat (a serialization library for json and bison).

For the most part, it’s been a fun experience, although the documentation on Casbah is not as great as I would have hoped. A guide does exists, but is not exhaustive. If like me you find yourself spending quite a bit of time looking for things not contained in it, here are some code snippets and I hope can act as a tutorial of sort on how to perform certain operations using Casbah.

Here it is. Please complete the poll below to help me improve my blog posts.

Advertisements
Quick tutorial on Casbah, Scala’s MongoDB driver

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s