Accepted answer

The methods I needed are found on Db class

For inserting:

/** create a doc from an object with auto id generation */
def doc[T <: AnyRef](obj: T)

For retrieval there is:

/** get an entity of type <tt>T</tt> based on its id. Returns a
Tuple3 of (id, ref, T) */
def get[T](id: String)


Related Query

More Query from same tag