io.github.morgaroth.utils.mongodb.salat
Helper class with SalatDAO configuration read from application configuration file
Usage: case class Foo(@Key("_id") someID:String, someInt:Integer, someObject: anotherObject)
object FooDAO extends SalatDAOWithCfg[Foo,String]("app.db.uri","foos")
(Since version 0.0.8) Use findOneById instead
Helper class with SalatDAO configuration read from application configuration file
Usage: case class Foo(@Key("_id") someID:String, someInt:Integer, someObject: anotherObject)
object FooDAO extends SalatDAOWithCfg[Foo,String]("app.db.uri","foos")