Criteria4s is a simple domain-specific language (DSL) to define criteria and predicate expressions for any data stores by using Scala type class mechanisms in a type-safe way. It pretends to be agnostic to any data store, and it is extensible to support any kind of data stores.
It will be nice to add support for mongoDb expressions. At least Postgres + real NoSql solution can be really beautiful example of using this algebra