In this recipe we will show you how you can write type-safe and easy-to-read database queries with Rogue.
The folks at foursquare.com also use Lift for their hugely popular service. And they also use Mongo. Now we can only imagine that after a couple hundred queries and countless spelling errors in the search fields they decided to write up an easy-to-use Scala DSL that would help them avoid these bumps in the future. They did, and they kindly open sourced their solution, Foursquare Rogue, at the following link:
We will walk you through the installation, first usage steps, and a couple of things you can do with it.
This recipe, same as the previous recipe, is documented ...