StrCao2
abstract
class StrCao2[T, A, B](bucket: ScalaBucket) extends StrCao[T] with WithCaoKey2[T, A, B, String, CompatStringDocument]
Base class for Couchbase Access Object to access StringDocument 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