JsCao2
abstract
class JsCao2[T, A, B](bucket: ScalaBucket)(implicit evidence$1: Format[T]) extends JsCao[T] with WithCaoKey2[T, A, B, JsValue, JsDocument]
Base class for Couchbase Access Object to access json documents that can be decode/encode to/from the T
type - which is
store in couchbase at key generated from the T.key(A, B) method
Type members
Inherited types
Value members
Inherited methods
protected
Map 2 param of type A, B to a CB key
Map 2 param of type A, B to a CB key
- Returns
CB key
- Inherited from
- WithCaoKey2
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
- WithCaoKey2
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