If you use Scala and mongodb, I <i>highly</i> recommend this DSL:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;foursquare&#x2F;rogue" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;foursquare&#x2F;rogue</a><p>Typesafe queries using SQL-like syntax. Particularly when used with the Spindle library (<a href="https:&#x2F;&#x2F;github.com&#x2F;foursquare&#x2F;spindle" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;foursquare&#x2F;spindle</a>), this is best ORM I&#x27;ve ever used.