score:0

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)

See https://github.com/debasishg/scouchdb/blob/master/src/main/scala/scouch/db/Database.scala


Related Query

More Query from same tag