JsCao
class JsCao[T](val bucket: ScalaBucket)(implicit val fmt: Format[T]) extends CaoBase[T, JsValue, JsDocument] with JsCaoTrait[T]
Base class for Couchbase Access Object to access json documents that can be decode/encode to/from the T
type
Type members
Inherited types
Value members
Inherited methods
final
- Value Params
- id
document id
- t
the object of your own type
T
ex T=case class User(...)
to be upsert into cb server
- Inherited from
- CaoBase
final
convenient method. = set(..).map(_ => t)
convenient method. = set(..).map(_ => t)
- Inherited from
- CaoTrait
final
- Value Params
- id
document id
- t
the object of your own type
T
ex T=case class User(...)
to be upsert into cb server
- Inherited from
- CaoBase