class

CryBase::CouchBase::Services::KV::CollectionContext(Target)

Inherits Reference < Object

Constructors

new(target : Target, *, scope : String, collection : String)
Source

Instance methods

collection
Source
collection_id
Source
decrement(key : String, delta : UInt64 = 1_u64, initial : UInt64 = 0_u64, expiry : UInt32 = 0_u32) : UInt64
Source
delete(key : String) : Nil
Source
get(key : String, expiry : UInt32 | Nil = nil) : Bytes
Source
get(key : String, type : T.class, expiry : UInt32 | Nil = nil) : T forall T
Source
get_as(key : String, type : T.class, expiry : UInt32 | Nil = nil) : T forall T
Source
increment(key : String, delta : UInt64 = 1_u64, initial : UInt64 = 0_u64, expiry : UInt32 = 0_u32) : UInt64
Source
scope
Source
set(key : String, value : String | Bytes, expiry : UInt32 = 0_u32) : UInt64
Source
set(key : String, value : T, expiry : UInt32 = 0_u32) : UInt64 forall T
Source
target
Source
touch(key : String, expiry : UInt32) : UInt64
Source